ClientUser
extends User
Methods
<ClientUser>.setPresence
Param
Required
Default
Type
options
true
{}
Object
options.status
false
'online'
String
options.afk
false
false
Boolean
options.since
false
null
Number
options.game
false
{ game: { name: null, type: 0 } }
Object
game.name
false
null
String
game.type
false
0
Number
<ClientUser>.setUsername(name)
Name cannot contain the following characters: @, #, "```" and names cannot be: everyone, here, discordtag
Param
Required
Default
Type
name
true
none
String
<ClientUser>.fetchGuild(guild)
Param
Required
Default
Type
guild
true
none
String | Snowflake
Last updated
Was this helpful?