Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseUser

export
implements

{User}

Hierarchy

  • BaseObject
    • BaseUser

Implements

  • User

Index

Constructors

constructor

  • new BaseUser(userObject: User | (User & UserInGuild), client: KBotify): BaseUser

Properties

avatar

avatar: string

bot

bot: boolean

client

client: KBotify

id

id: string = ''

identifyNum

identifyNum: string

Optional nickname

nickname: string

online

online: boolean

username

username: string = ''

Accessors

_botInstance

mention

  • get mention(): string

Methods

getBotInstance

grantRole

  • grantRole(roleId: string | number, guildId: string): Promise<UserRoleGrantResponseInternal>

revokeRole

  • revokeRole(roleId: string | number, guildId: string): Promise<UserRoleRevokeResponseInternal>

Generated using TypeDoc