APIGuildMember
https://discord.com/developers/docs/resources/guild#guild-member-object
Signature
export interface APIGuildMemberProperties
14Methods
0No methods.
Properties
user: APIUser;The user this guild member represents **This field won't be included in the member object attached to `MESSAGE_CREATE` and `MESSAGE_UPDATE` gateway events.** See https://discord.com/developers/docs/resources/user#user-object
nick?: string | null;This users guild nickname
avatar?: string | null;The member's guild avatar hash
roles: Snowflake[];Array of role object ids See https://discord.com/developers/docs/topics/permissions#role-object
joined_at: string;When the user joined the guild
premium_since?: string | null;When the user started boosting the guild See https://support.discord.com/hc/articles/360028038352
deaf: boolean;Whether the user is deafened in voice channels
mute: boolean;Whether the user is muted in voice channels
flags: GuildMemberFlags;Guild member flags represented as a bit set, defaults to `0`
pending?: boolean;Whether the user has not yet passed the guild's Membership Screening requirements
communication_disabled_until?: string | null;Timestamp of when the time out will be removed; until then, they cannot interact with the guild
avatar_decoration_data?: APIAvatarDecorationData | null;The data for the member's guild avatar decoration See https://discord.com/developers/docs/resources/user#avatar-decoration-data-object
collectibles?: APICollectibles | null;The data for the member's collectibles See https://discord.com/developers/docs/resources/user#collectibles
banner?: string | null;The data for the member's guild banner See https://github.com/discord/discord-api-docs/discussions/4217