Bot

Bot

Represents a Bot on Bots For Discord

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:

avatar :string

The bot's avatar code.
Type:
  • string
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:
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:

id :string

The bot's Discord ID.
Type:
  • string
Source:

(readonly) inviteNoPerms :string

The bot's invite, but no permission requirements.
Type:
  • string
Source:

inviteURL :string

The bot's invite URL.
Type:
  • string
Source:

library :string

The library used to program the bot.
Type:
  • string
Source:

ownerID :string

The bot's main owner's ID.
Type:
  • string
Source:

(readonly) page :string

The bot's page on Bots for Discord.
Type:
  • string
Source:

prefix :string

The bot's prefix.
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:

tag :string

The bot's Discord Tag.
Type:
  • string
Source:

username :string

The bot's Discord Username.
Type:
  • string
Source:

(readonly, nullable) vanityCode :string

The bot's vanity code on Bots for Discord.
Type:
  • string
Source:

vanityURL :string

The bot's vanity URL.
Type:
  • string
Source:

verified :boolean

Whether or not the bot has been verified by Bots for Discord.
Type:
  • boolean
Source:

votes :Votes

The bot's recent vote activity.
Type:
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: