Skip to main content

DiscordGuildMemberUpdate

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordGuildMemberUpdate

Interface: DiscordGuildMemberUpdate

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

Properties

avatar

avatar: string

the member's guild avatar hash

Defined in

packages/types/dist/types/discord.d.ts:2945


avatar_decoration_data?

optional avatar_decoration_data: DiscordAvatarDecorationData

Data for the member's guild avatar decoration

Defined in

packages/types/dist/types/discord.d.ts:2961


banner: string

the member's guild banner hash

Defined in

packages/types/dist/types/discord.d.ts:2947


communication_disabled_until?

optional communication_disabled_until: string

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

Defined in

packages/types/dist/types/discord.d.ts:2959


deaf?

optional deaf: boolean

whether the user is deafened in voice channels

Defined in

packages/types/dist/types/discord.d.ts:2953


flags?

optional flags: number

Guild member flags

Defined in

packages/types/dist/types/discord.d.ts:2963


guild_id

guild_id: string

The id of the guild

Defined in

packages/types/dist/types/discord.d.ts:2937


joined_at

joined_at: string

When the user joined the guild

Defined in

packages/types/dist/types/discord.d.ts:2949


mute?

optional mute: boolean

whether the user is muted in voice channels

Defined in

packages/types/dist/types/discord.d.ts:2955


nick?

optional nick: null | string

Nickname of the user in the guild

Defined in

packages/types/dist/types/discord.d.ts:2943


pending?

optional pending: boolean

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

Defined in

packages/types/dist/types/discord.d.ts:2957


premium_since?

optional premium_since: null | string

When the user starting boosting the guild

Defined in

packages/types/dist/types/discord.d.ts:2951


roles

roles: string[]

User role ids

Defined in

packages/types/dist/types/discord.d.ts:2939


user

user: DiscordUser

The user

Defined in

packages/types/dist/types/discord.d.ts:2941