Skip to main content
Version: 0.33.2

APIInteractionGuildMember

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

Hierarchy

Index

Properties

optionalavatar

avatar?: null | string

The member’s guild avatar hash

optionalcommunication_disabled_until

communication_disabled_until?: null | string

Timestamp of when the time out will be removed; until then, they cannot interact with the guild

deaf

deaf: boolean

Whether the user is deafened in voice channels

joined_at

joined_at: string

When the user joined the guild

mute

mute: boolean

Whether the user is muted in voice channels

optionalnick

nick?: null | string

This users guild nickname

optionalpending

pending?: boolean

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

If this field is not present, it can be assumed as false.

permissions

permissions: string

optionalpremium_since

premium_since?: null | string

roles

roles: string[]

user

user: APIUser

The user this guild member represents

This field won’t be included in the member object attached to MESSAGE_CREATE and MESSAGE_UPDATE gateway events.

See https://discord.com/developers/docs/resources/user#user-object