Skip to main content

Member

Documentation


Documentation / @discordeno/bot / Member

Interface: Member

Defined in: transformers/types.ts:1273

Properties​

avatar?​

optional avatar?: bigint

Defined in: transformers/types.ts:1290

The member's custom avatar for this server.


avatarDecorationData​

avatarDecorationData: AvatarDecorationData

Defined in: transformers/types.ts:1304

data for the member's guild avatar decoration


optional banner?: bigint

Defined in: transformers/types.ts:1292

The member's custom banner for this server.


bypassesVerification?​

optional bypassesVerification?: boolean

Defined in: transformers/types.ts:1316

Member is exempt from guild verification requirements


collectibles?​

optional collectibles?: Collectibles

Defined in: transformers/types.ts:1322

Data for the member's collectibles


communicationDisabledUntil?​

optional communicationDisabledUntil?: number

Defined in: transformers/types.ts:1302

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


completedOnboarding?​

optional completedOnboarding?: boolean

Defined in: transformers/types.ts:1318

Member has started onboarding


deaf?​

optional deaf?: boolean

Defined in: transformers/types.ts:1306

Whether the user is deafened in voice channels


didRejoin?​

optional didRejoin?: boolean

Defined in: transformers/types.ts:1312

Member has left and rejoined the guild


flags​

flags: number

Defined in: transformers/types.ts:1320

Guild member flags


guildId?​

optional guildId?: bigint

Defined in: transformers/types.ts:1284

The guild id where this member is.

Remarks​

This will always be present unless the member object is from thread member object.


id​

id: bigint

Defined in: transformers/types.ts:1275

The user id of the member.


joinedAt?​

optional joinedAt?: number

Defined in: transformers/types.ts:1296

When the user joined the guild


mute?​

optional mute?: boolean

Defined in: transformers/types.ts:1308

Whether the user is muted in voice channels


nick?​

optional nick?: string

Defined in: transformers/types.ts:1288

This user's guild nickname


pending?​

optional pending?: boolean

Defined in: transformers/types.ts:1310

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


permissions?​

optional permissions?: Permissions

Defined in: transformers/types.ts:1300

The permissions this member has in the guild. Only present on interaction events.


premiumSince?​

optional premiumSince?: number

Defined in: transformers/types.ts:1298

When the user started boosting the guild


roles​

roles: bigint[]

Defined in: transformers/types.ts:1294

Array of role object ids


startedOnboarding?​

optional startedOnboarding?: boolean

Defined in: transformers/types.ts:1314

Member has completed onboarding


toggles?​

optional toggles?: MemberToggles

Defined in: transformers/types.ts:1277

The compressed form of all the boolean values on this user.


user?​

optional user?: User

Defined in: transformers/types.ts:1286

The user this guild member represents