Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.46 KB

File metadata and controls

41 lines (33 loc) · 1.46 KB
description A compact funcion with 17 different functionalities.

$client

With this command you can get information about the bot user itself.

Raw usage: $client[option]

Usable Options:

  • name => returns bot's username
  • id => returns bot's user ID
  • tag => returns bot's usertag
  • mention => returns bot's mention
  • discrim => returns bot's discriminator
  • avatar => returns bot's profile avatar
  • presence => return's the bot's activity status (e.g. online)
  • activity => returns the bot's rich presence status
  • lastmid => returns ID of last message sent by the bot
  • lastmcid => returns ID of channel the bot's last message was sent
  • ispublic => returns true/false if bot is public or not (from the Developer Portal)
  • mfaenabled => return true if the bot's owner has 2FA enabled on their account
  • readyat => returns the time the bot came online
  • readytimestamp => returns the timestamp the bot came online
  • token => returns the bot's token. More information: see $clientToken
  • ownerid => returns the ID of the bot's owner or the ID of the owner of the application's team the bot belongs to
  • teamid => returns the ID of the team the bot's application belongs to or the ownerID if bot has no team

Example Usage:

bot.command({
name: "client",
code: `
My username is: $client[name]
`
})