Skip to main content

Member

Documentation


Documentation / @discordeno/bot / Member

Interface: Member

Defined in: transformers/types.ts:1236

Properties

avatar?

optional avatar?: bigint

Defined in: transformers/types.ts:1253

The member's custom avatar for this server.


avatarDecorationData

avatarDecorationData: AvatarDecorationData

Defined in: transformers/types.ts:1267

data for the member's guild avatar decoration


optional banner?: bigint

Defined in: transformers/types.ts:1255

The member's custom banner for this server.


bypassesVerification?

optional bypassesVerification?: boolean

Defined in: transformers/types.ts:1279

Member is exempt from guild verification requirements


collectibles?

optional collectibles?: Collectibles

Defined in: transformers/types.ts:1285

Data for the member's collectibles


communicationDisabledUntil?

optional communicationDisabledUntil?: number

Defined in: transformers/types.ts:1265

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

Member has started onboarding


deaf?

optional deaf?: boolean

Defined in: transformers/types.ts:1269

Whether the user is deafened in voice channels


didRejoin?

optional didRejoin?: boolean

Defined in: transformers/types.ts:1275

Member has left and rejoined the guild


flags

flags: number

Defined in: transformers/types.ts:1283

Guild member flags


guildId?

optional guildId?: bigint

Defined in: transformers/types.ts:1247

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

The user id of the member.


joinedAt?

optional joinedAt?: number

Defined in: transformers/types.ts:1259

When the user joined the guild


mute?

optional mute?: boolean

Defined in: transformers/types.ts:1271

Whether the user is muted in voice channels


nick?

optional nick?: string

Defined in: transformers/types.ts:1251

This user's guild nickname


pending?

optional pending?: boolean

Defined in: transformers/types.ts:1273

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


permissions?

optional permissions?: Permissions

Defined in: transformers/types.ts:1263

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


premiumSince?

optional premiumSince?: number

Defined in: transformers/types.ts:1261

When the user started boosting the guild


roles

roles: bigint[]

Defined in: transformers/types.ts:1257

Array of role object ids


startedOnboarding?

optional startedOnboarding?: boolean

Defined in: transformers/types.ts:1277

Member has completed onboarding


toggles?

optional toggles?: MemberToggles

Defined in: transformers/types.ts:1240

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


user?

optional user?: User

Defined in: transformers/types.ts:1249

The user this guild member represents