The member's avatar hash, if they have set a guild avatar.
The data for this user's avatar decoration.
When the member's timeout will expire, if active.
If this member is server deafened.
The member's flags.
The id of the guild this member is for.
Optional
isUndocumented.
The date at which this member joined the guild.
If this member is server muted.
This member's nickname, if any.
If this member has not passed the guild's membership screening requirements.
The date at which this member started boosting the guild, if applicable.
Optional
presenceThe presence of this member.
The roles this member has.
The user associated with this member.
If the user associated with this member is a bot.
The Discord-tag of the user associated with this member.
The nick of this member if set, the display name of this member's user if set, or their username.
A string that will mention this member.
The permissions of this member.
The user associated with this member's public flags.
If this user associated with this member is an official discord system user.
The 4 digits after this user's username, if they have not been migrated. If migrated, this will be a single "0".
The username associated with this member's user.
The voice state of this member.
The url of this member's avatar decoration (or their user avatar decoration). This will always be a png. Discord does not combine the decoration and their current avatar for you. This is ONLY the decoration.
Optional
size: numberThe dimensions of the image.
The url of this user's guild avatar (or their user avatar if no guild avatar is set, or their default avatar if none apply).
Optional
format: "jpg" | "jpeg" | "png" | "webp" | "gif"The format the url should be.
Optional
size: numberThe dimensions of the image.
Create a ban for this member.
Optional
options: CreateBanOptionsThe options for the ban.
Disable the BYPASSES_VERIFICATION
flag for this member. Requires any of the following permission sets:
Optional
reason: stringThe reason for disabling the flag.
Edit this member. Use Guild#editCurrentMember if you wish to update the nick of this client using the CHANGE_NICKNAME
permission.
The options for editing the member.
Edit this guild member's voice state. channelID
is required, and the user must already be in that channel. See Discord's docs for more information.
The options for editing the voice state.
Static
generateIDStatic
getStatic
get
Represents a member of a guild.