Search
Preparing search index...
The search index is not available
kbotify
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
kbotify
BaseUser
Class BaseUser
export
implements
{User}
Hierarchy
BaseObject
BaseUser
Implements
User
Index
Constructors
constructor
Properties
avatar
bot
client
id
identify
Num
nickname
online
username
Accessors
_bot
Instance
mention
Methods
get
Bot
Instance
grant
Role
revoke
Role
Constructors
constructor
new
Base
User
(
userObject
:
User
|
(
User
&
UserInGuild
)
, client
:
KBotify
)
:
BaseUser
Parameters
userObject:
User
|
(
User
&
UserInGuild
)
client:
KBotify
Returns
BaseUser
Properties
avatar
avatar
:
string
bot
bot
:
boolean
client
client
:
KBotify
id
id
:
string
= ''
identify
Num
identify
Num
:
string
Optional
nickname
nickname
:
string
online
online
:
boolean
username
username
:
string
= ''
Accessors
_bot
Instance
get
_botInstance
(
)
:
KBotify
deprecated
readonly
memberof
BaseObject
Returns
KBotify
mention
get
mention
(
)
:
string
Returns
string
Methods
get
Bot
Instance
get
Bot
Instance
(
)
:
KBotify
Returns
KBotify
grant
Role
grant
Role
(
roleId
:
string
|
number
, guildId
:
string
)
:
Promise
<
UserRoleGrantResponseInternal
>
Parameters
roleId:
string
|
number
guildId:
string
Returns
Promise
<
UserRoleGrantResponseInternal
>
revoke
Role
revoke
Role
(
roleId
:
string
|
number
, guildId
:
string
)
:
Promise
<
UserRoleRevokeResponseInternal
>
Parameters
roleId:
string
|
number
guildId:
string
Returns
Promise
<
UserRoleRevokeResponseInternal
>
Exports
Result
Types
App
Command
Base
Session
Base
User
constructor
avatar
bot
client
id
identify
Num
nickname
online
username
_bot
Instance
mention
get
Bot
Instance
grant
Role
revoke
Role
Button
Event
Message
Card
Guild
Channel
Guild
Session
KBotify
Menu
Command
Private
Channel
Private
Session
Text
Message
App
Command
Params
Base
Data
Card
Object
Func
Result
Menu
Command
Params
Module
Object
Send
Options
App
Command
Func
App
Func
Channel
Theme
k
Botify
Logger
create
Session
init
Func
Result
Generated using
TypeDoc
{User}