Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Member

Hierarchy

Implements

Index

Constructors

constructor

Properties

Optional activities

activities: undefined | Activity[]

Optional avatar

avatar: undefined | string

avatarURL

avatarURL: string

bot

bot: boolean

Optional clientStatus

clientStatus: undefined | ClientStatus

createdAt

createdAt: number

defaultAvatar

defaultAvatar: string

defaultAvatarURL

defaultAvatarURL: string

discriminator

discriminator: string

Optional game

game: undefined | Activity

guild

guild: Guild

id

id: string

joinedAt

joinedAt: number

mention

mention: string

Optional nick

nick: undefined | string

permission

permission: Permission

premiumSince

premiumSince: number

roles

roles: string[]

staticAvatarURL

staticAvatarURL: string

Optional status

status: undefined | "online" | "idle" | "dnd" | "offline"

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

unban

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

    • Optional reason: string

    Returns Promise<void>

Generated using TypeDoc