Constructor
new Bot(obj)
Parameters:
Name | Type | Description |
---|---|---|
obj |
object |
- Source:
Extends
Members
approved :boolean
Whether or not the bot has been approved by Bots for Discord.
Type:
- boolean
- Source:
(nullable) approvedTimestamp :number
The timestamp of when the bot had been approved.
Type:
- number
- Source:
(readonly) avatarURL :string
The bot's Discord Avatar URL.
Type:
- string
- Source:
backgroundColor :string
The bot's background color in HEX.
Type:
- string
- Source:
(nullable) clientID :string
The bot's client ID, if different from its Discord ID.
Type:
- string
- Source:
discriminator :string
The bot's Discord discriminator.
Type:
- string
- Source:
featured :boolean
Whether or not the bot is currently featured on the front page of Bots for Discord.
Type:
- boolean
- Source:
(nullable) github :string
The bot's GitHub Repository.
Type:
- string
- Source:
(nullable) guildCount :number
The number of guilds the bot is in.
Type:
- number
- Source:
(readonly) inviteNoPerms :string
The bot's invite, but no permission requirements.
Type:
- string
- Source:
library :string
The library used to program the bot.
Type:
- string
- Source:
(readonly) page :string
The bot's page on Bots for Discord.
Type:
- string
- Source:
(readonly) raw :object
The raw object used to give class values meaning.
Type:
- object
- Inherited From:
- Source:
secondaryOwnerIDs :Array.<string>
The bot's secondary owners' IDs.
Type:
- Array.<string>
- Source:
shortDescription :string
The bot's short description.
Type:
- string
- Source:
(readonly, nullable) supportCode :string
The bot's support server code.
If it does not match the Discord invite regex, this returns `null`.
Type:
- string
- Source:
supportURL :string
The bot's support server invite.
Type:
- string
- Source:
(readonly, nullable) vanityCode :string
The bot's vanity code on Bots for Discord.
Type:
- string
- Source:
verified :boolean
Whether or not the bot has been verified by Bots for Discord.
Type:
- boolean
- Source:
websiteBot :boolean
Whether or not the bot is a website bot.
Type:
- boolean
- Source:
Methods
toString()
Returns text that Discord recognizes as a User Mention.
- Source: