Class GuildMember

Hierarchy

Constructors

Properties

_roles: string[]
avatar: null | string
client: Client<true>
communicationDisabledUntilTimestamp: null | number
flags: Readonly<GuildMemberFlagsBitField>
guild: Guild
joinedTimestamp: null | number
nickname: null | string
pending: boolean
premiumSinceTimestamp: null | number
user: User

Accessors

  • get bannable(): boolean
  • Returns boolean

  • get communicationDisabledUntil(): null | Date
  • Returns null | Date

  • get displayColor(): number
  • Returns number

  • get displayHexColor(): `#${string}`
  • Returns `#${string}`

  • get displayName(): string
  • Returns string

  • get dmChannel(): null | DMChannel
  • Returns null | DMChannel

  • get id(): string
  • Returns string

  • get joinedAt(): null | Date
  • Returns null | Date

  • get kickable(): boolean
  • Returns boolean

  • get manageable(): boolean
  • Returns boolean

  • get moderatable(): boolean
  • Returns boolean

  • get partial(): false
  • Returns false

  • get premiumSince(): null | Date
  • Returns null | Date

  • get presence(): null | Presence
  • Returns null | Presence

  • get voice(): VoiceState
  • Returns VoiceState

Methods

  • Parameters

    Returns null | string

  • Parameters

    Returns Promise<GuildMember>

  • Parameters

    • Optional force: boolean

    Returns Promise<DMChannel>

  • Returns Promise<DMChannel>

  • Parameters

    Returns Promise<GuildMember>

  • Parameters

    Returns string

  • Parameters

    • Optional force: boolean

    Returns Promise<GuildMember>

  • Returns this is GuildMember & {
        communicationDisabledUntil: Date;
        communicationDisabledUntilTimestamp: number;
    }

  • Parameters

    • Optional reason: string

    Returns Promise<GuildMember>

  • Parameters

    • nickname: null | string
    • Optional reason: string

    Returns Promise<GuildMember>

  • Parameters

    • timeout: null | number
    • Optional reason: string

    Returns Promise<GuildMember>

  • Returns unknown

  • Returns `<@${string}>`

  • Returns string

Generated using TypeDoc