Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Member

Representation of a Discord User in a guild

Hierarchy

Index

Constructors

constructor

Properties

boostingSince

boostingSince: Timestamp | null

Timestamp of when the member start boosting the guild. Possibly null if the user has never boosted this server

bot

bot: Bot

The Bot operating this structure

deaf

deaf: boolean

Whether the member is deafened in voice channels

guild

guild: Guild

The Guild associated to this structure

id

The member's user ID

joinedAt

joinedAt: Timestamp

Timestamp of when the member joined the guild

mute

mute: boolean

Whether the member is muted in voice channels

nick

nick: string | null

The user's guild nickname

presence

presence: MemberPresence | undefined

The member's user presence data

roles

Collection of all Roles associated to this member

user

user: User | undefined

The user this guild member represents

Methods

ban

clone

  • clone(): this

modify

modifyNickname

  • modifyNickname(nick: string): Promise<string | void>

remove

  • remove(): Promise<void>

update

Generated using TypeDoc