Skip to main content

Member

@discordeno/botDocs


Documentation / @discordeno/bot / Member

Interface: Member

Properties

avatar?

optional avatar: bigint

The member's custom avatar for this server.

Defined in

packages/bot/src/transformers/types.ts:1030


avatarDecorationData

avatarDecorationData: AvatarDecorationData

data for the member's guild avatar decoration

Defined in

packages/bot/src/transformers/types.ts:1044


optional banner: bigint

The member's custom banner for this server.

Defined in

packages/bot/src/transformers/types.ts:1032


bypassesVerification?

optional bypassesVerification: boolean

Member is exempt from guild verification requirements

Defined in

packages/bot/src/transformers/types.ts:1056


communicationDisabledUntil?

optional communicationDisabledUntil: number

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

Defined in

packages/bot/src/transformers/types.ts:1042


completedOnboarding?

optional completedOnboarding: boolean

Member has started onboarding

Defined in

packages/bot/src/transformers/types.ts:1058


deaf?

optional deaf: boolean

Whether the user is deafened in voice channels

Defined in

packages/bot/src/transformers/types.ts:1046


didRejoin?

optional didRejoin: boolean

Member has left and rejoined the guild

Defined in

packages/bot/src/transformers/types.ts:1052


flags

flags: number

Guild member flags

Defined in

packages/bot/src/transformers/types.ts:1060


guildId

guildId: bigint

The guild id where this member is.

Defined in

packages/bot/src/transformers/types.ts:1024


id

id: bigint

The user id of the member.

Defined in

packages/bot/src/transformers/types.ts:1020


joinedAt

joinedAt: number

When the user joined the guild

Defined in

packages/bot/src/transformers/types.ts:1036


mute?

optional mute: boolean

Whether the user is muted in voice channels

Defined in

packages/bot/src/transformers/types.ts:1048


nick?

optional nick: string

This user's guild nickname

Defined in

packages/bot/src/transformers/types.ts:1028


pending?

optional pending: boolean

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

Defined in

packages/bot/src/transformers/types.ts:1050


permissions?

optional permissions: Permissions

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

Defined in

packages/bot/src/transformers/types.ts:1040


premiumSince?

optional premiumSince: number

When the user started boosting the guild

Defined in

packages/bot/src/transformers/types.ts:1038


roles

roles: bigint[]

Array of role object ids

Defined in

packages/bot/src/transformers/types.ts:1034


startedOnboarding?

optional startedOnboarding: boolean

Member has completed onboarding

Defined in

packages/bot/src/transformers/types.ts:1054


toggles?

optional toggles: MemberToggles

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

Defined in

packages/bot/src/transformers/types.ts:1022


user?

optional user: User

The user this guild member represents

Defined in

packages/bot/src/transformers/types.ts:1026