Skip to main content

DiscordGuildMemberUpdate

@discordeno/bot


Documentation / @discordeno/bot / DiscordGuildMemberUpdate

Interface: DiscordGuildMemberUpdate

Defined in: packages/types/dist/types/discord.d.ts:2938

https://discord.com/developers/docs/events/gateway#guild-member-update

Properties

avatar

avatar: string

Defined in: packages/types/dist/types/discord.d.ts:2948

the member's guild avatar hash


avatar_decoration_data?

optional avatar_decoration_data: DiscordAvatarDecorationData

Defined in: packages/types/dist/types/discord.d.ts:2964

Data for the member's guild avatar decoration


banner: string

Defined in: packages/types/dist/types/discord.d.ts:2950

the member's guild banner hash


communication_disabled_until?

optional communication_disabled_until: string

Defined in: packages/types/dist/types/discord.d.ts:2962

when the user's timeout will expire and the user will be able to communicate in the guild again, null or a time in the past if the user is not timed out. Will throw a 403 error if the user has the ADMINISTRATOR permission or is the owner of the guild


deaf?

optional deaf: boolean

Defined in: packages/types/dist/types/discord.d.ts:2956

whether the user is deafened in voice channels


flags?

optional flags: number

Defined in: packages/types/dist/types/discord.d.ts:2966

Guild member flags


guild_id

guild_id: string

Defined in: packages/types/dist/types/discord.d.ts:2940

The id of the guild


joined_at

joined_at: string

Defined in: packages/types/dist/types/discord.d.ts:2952

When the user joined the guild


mute?

optional mute: boolean

Defined in: packages/types/dist/types/discord.d.ts:2958

whether the user is muted in voice channels


nick?

optional nick: null | string

Defined in: packages/types/dist/types/discord.d.ts:2946

Nickname of the user in the guild


pending?

optional pending: boolean

Defined in: packages/types/dist/types/discord.d.ts:2960

Whether the user has not yet passed the guild's Membership Screening requirements


premium_since?

optional premium_since: null | string

Defined in: packages/types/dist/types/discord.d.ts:2954

When the user starting boosting the guild


roles

roles: string[]

Defined in: packages/types/dist/types/discord.d.ts:2942

User role ids


user

user: DiscordUser

Defined in: packages/types/dist/types/discord.d.ts:2944

The user