Skip to main content

DiscordGuildMemberUpdate

@discordeno/bot


Documentation / @discordeno/bot / DiscordGuildMemberUpdate

Interface: DiscordGuildMemberUpdate

Defined in: packages/types/dist/types/discord/gateway.d.ts:353

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

Properties

avatar

avatar: string

Defined in: packages/types/dist/types/discord/gateway.d.ts:363

the member's guild avatar hash


avatar_decoration_data?

optional avatar_decoration_data: DiscordAvatarDecorationData

Defined in: packages/types/dist/types/discord/gateway.d.ts:379

Data for the member's guild avatar decoration


banner: string

Defined in: packages/types/dist/types/discord/gateway.d.ts:365

the member's guild banner hash


communication_disabled_until?

optional communication_disabled_until: string

Defined in: packages/types/dist/types/discord/gateway.d.ts:377

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/gateway.d.ts:371

whether the user is deafened in voice channels


flags?

optional flags: number

Defined in: packages/types/dist/types/discord/gateway.d.ts:381

Guild member flags


guild_id

guild_id: string

Defined in: packages/types/dist/types/discord/gateway.d.ts:355

The id of the guild


joined_at

joined_at: string

Defined in: packages/types/dist/types/discord/gateway.d.ts:367

When the user joined the guild


mute?

optional mute: boolean

Defined in: packages/types/dist/types/discord/gateway.d.ts:373

whether the user is muted in voice channels


nick?

optional nick: null | string

Defined in: packages/types/dist/types/discord/gateway.d.ts:361

Nickname of the user in the guild


pending?

optional pending: boolean

Defined in: packages/types/dist/types/discord/gateway.d.ts:375

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/gateway.d.ts:369

When the user starting boosting the guild


roles

roles: string[]

Defined in: packages/types/dist/types/discord/gateway.d.ts:357

User role ids


user

user: DiscordUser

Defined in: packages/types/dist/types/discord/gateway.d.ts:359

The user