Skip to main content

DiscordGuildMemberUpdate

Documentation


Documentation / @discordeno/types / DiscordGuildMemberUpdate

Interface: DiscordGuildMemberUpdate

Defined in: discord/gateway.ts:536

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

Properties

avatar

avatar: string | null

Defined in: discord/gateway.ts:546

the member's guild avatar hash


avatar_decoration_data?

optional avatar_decoration_data?: DiscordAvatarDecorationData | null

Defined in: discord/gateway.ts:564

Data for the member's guild avatar decoration


banner: string | null

Defined in: discord/gateway.ts:548

the member's guild banner hash


communication_disabled_until?

optional communication_disabled_until?: string | null

Defined in: discord/gateway.ts:560

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: discord/gateway.ts:554

whether the user is deafened in voice channels


flags?

optional flags?: number

Defined in: discord/gateway.ts:562

Guild member flags


guild_id

guild_id: string

Defined in: discord/gateway.ts:538

The id of the guild


joined_at

joined_at: string | null

Defined in: discord/gateway.ts:550

When the user joined the guild


mute?

optional mute?: boolean

Defined in: discord/gateway.ts:556

whether the user is muted in voice channels


nick?

optional nick?: string | null

Defined in: discord/gateway.ts:544

Nickname of the user in the guild


pending?

optional pending?: boolean

Defined in: discord/gateway.ts:558

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


premium_since?

optional premium_since?: string | null

Defined in: discord/gateway.ts:552

When the user starting boosting the guild


roles

roles: string[]

Defined in: discord/gateway.ts:540

User role ids


user

user: DiscordUser

Defined in: discord/gateway.ts:542

The user