User
Properties
<User>.avatar
Returns the Current Avatar, null
if no avatar.
<User>.avatarURL
Returns the avatarURL of the User
This is only available at the Master Branch!
<User>.bot
Returns undefined
or true. If true
, the client is a bot, if undefined
it is User a.k.a Selfbot.
<User>.client
The client that created the instance of the User
<User>.discriminator
The bot's Discriminator
<User>.id
The bot's id
<User>.username
The bot's Username
<User>.tag
Returns the bot's tag, e.g User#0001
<User>.mention
Returns the bot's Mention, e.g <@Bot_Id>
Methods
<User>.createDM()
Create a DM Channel between the user and the Bot
<User>.sendMessage(content)
Sends the User a Message ( No need to create a DM Channel )
Param
Required
Default
Type
content
true
none
String
<User>.sendEmbed(embed)
This Function is only available at the Master Branch!
Param
Required
Default
Type
Last updated
Was this helpful?