Skip to main content

DiscordMember

@discordeno/bot


Documentation / @discordeno/bot / DiscordMember

Interface: DiscordMember

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

https://discord.com/developers/docs/resources/guild#guild-member-object

Extended by

Properties

avatar?

optional avatar: string

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

The member's custom avatar for this server.


avatar_decoration_data?

optional avatar_decoration_data: null | DiscordAvatarDecorationData

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

data for the member's guild avatar decoration


optional banner: string

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

The member's guild banner


communication_disabled_until?

optional communication_disabled_until: null | string

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

when the user's timeout will expire and the user will be able to communicate in the guild again (set null to remove timeout), null or a time in the past if the user is not timed out


deaf?

optional deaf: boolean

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

Whether the user is deafened in voice channels


flags

flags: number

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

Guild member flags


joined_at

joined_at: string

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

When the user joined the guild


mute?

optional mute: boolean

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

Whether the user is muted in voice channels


nick?

optional nick: null | string

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

This user's guild nickname


pending?

optional pending: boolean

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

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


permissions?

optional permissions: string

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

The permissions this member has in the guild. Only present on interaction events and OAuth2 current member fetch.


premium_since?

optional premium_since: null | string

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

When the user started boosting the guild


roles

roles: string[]

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

Array of role object ids


user?

optional user: DiscordUser

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

The user this guild member represents