Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Member

Hierarchy

Implements

Index

Constructors

constructor

Properties

Optional activities

activities: Activity[]

avatar

avatar: null | string

avatarURL

avatarURL: string

bot

bot: boolean

Optional clientStatus

clientStatus: ClientStatus

createdAt

createdAt: number

defaultAvatar

defaultAvatar: string

defaultAvatarURL

defaultAvatarURL: string

discriminator

discriminator: string

game

game: null | Activity

guild

guild: Guild

id

id: string

joinedAt

joinedAt: number

mention

mention: string

nick

nick: null | string

Optional pending

pending: boolean

permission

permission: Permission
deprecated

permissions

permissions: Permission

premiumSince

premiumSince: number

roles

roles: string[]

staticAvatarURL

staticAvatarURL: string

Optional status

status: Status

user

user: User

username

username: string

voiceState

voiceState: VoiceState

Methods

addRole

  • addRole(roleID: string, reason?: string): Promise<void>
  • Parameters

    • roleID: string
    • Optional reason: string

    Returns Promise<void>

ban

  • ban(deleteMessageDays?: number, reason?: string): Promise<void>
  • Parameters

    • Optional deleteMessageDays: number
    • Optional reason: string

    Returns Promise<void>

edit

  • Parameters

    Returns Promise<void>

inspect

  • Returns Member

kick

  • kick(reason?: string): Promise<void>
  • Parameters

    • Optional reason: string

    Returns Promise<void>

removeRole

  • removeRole(roleID: string, reason?: string): Promise<void>
  • Parameters

    • roleID: string
    • Optional reason: string

    Returns Promise<void>

toJSON

  • Parameters

    • Optional props: string[]

    Returns JSONCache

toString

  • toString(): string
  • Returns string

unban

  • unban(reason?: string): Promise<void>
  • Parameters

    • Optional reason: string

    Returns Promise<void>

Static getCreatedAt

  • getCreatedAt(id: string): number
  • Parameters

    • id: string

    Returns number

Generated using TypeDoc