Skip to main content

Member

Documentation


Documentation / @discordeno/bot / Member

Interface: Member

Defined in: transformers/types.ts:1272

Properties

avatar?

optional avatar?: bigint

Defined in: transformers/types.ts:1289

The member's custom avatar for this server.


avatarDecorationData

avatarDecorationData: AvatarDecorationData

Defined in: transformers/types.ts:1303

data for the member's guild avatar decoration


optional banner?: bigint

Defined in: transformers/types.ts:1291

The member's custom banner for this server.


bypassesVerification?

optional bypassesVerification?: boolean

Defined in: transformers/types.ts:1315

Member is exempt from guild verification requirements


collectibles?

optional collectibles?: Collectibles

Defined in: transformers/types.ts:1321

Data for the member's collectibles


communicationDisabledUntil?

optional communicationDisabledUntil?: number

Defined in: transformers/types.ts:1301

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:1317

Member has started onboarding


deaf?

optional deaf?: boolean

Defined in: transformers/types.ts:1305

Whether the user is deafened in voice channels


didRejoin?

optional didRejoin?: boolean

Defined in: transformers/types.ts:1311

Member has left and rejoined the guild


flags

flags: number

Defined in: transformers/types.ts:1319

Guild member flags


guildId?

optional guildId?: bigint

Defined in: transformers/types.ts:1283

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:1274

The user id of the member.


joinedAt?

optional joinedAt?: number

Defined in: transformers/types.ts:1295

When the user joined the guild


mute?

optional mute?: boolean

Defined in: transformers/types.ts:1307

Whether the user is muted in voice channels


nick?

optional nick?: string

Defined in: transformers/types.ts:1287

This user's guild nickname


pending?

optional pending?: boolean

Defined in: transformers/types.ts:1309

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


permissions?

optional permissions?: Permissions

Defined in: transformers/types.ts:1299

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


premiumSince?

optional premiumSince?: number

Defined in: transformers/types.ts:1297

When the user started boosting the guild


roles

roles: bigint[]

Defined in: transformers/types.ts:1293

Array of role object ids


startedOnboarding?

optional startedOnboarding?: boolean

Defined in: transformers/types.ts:1313

Member has completed onboarding


toggles?

optional toggles?: MemberToggles

Defined in: transformers/types.ts:1276

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


user?

optional user?: User

Defined in: transformers/types.ts:1285

The user this guild member represents