GuildMember
Last updated
Last updated
Namespace: Discord
Name
Description
Type
Nickname
The member's current nickname
string
Roles
The member's roles
IReadOnlyList<ulong>
JoinedAt
Timestamp indicating when the user joined the guild
DateTime
BoostingSince
Timestamp indicating when the user started boosting the guild
DateTime?
Updates the object's information.
Modifies the member.
Name
Description
Type
properties
The changes you want to make
GuildMemberProperties
Adds a role to the member.
Name
Description
Type
roleId
The role you want assigned to the member
ulong
Removes a role from the member.
Name
Description
Type
roleId
The role you want removed from the member
ulong
Gets a member's permissions in the server.
Kicks the member from the guild.
Bans the member from the guild.
Name
Description
Type
reason
The reason you're banning the member
string?
deleteMessageDays
Amount of days to delete messages from the user.
uint?
Unbans the member from the guild.
Converts the member to a string that can be used within messages to ping the user.
string