Bot

Bot

Represents any bot that has been submitted onto botlist.space.

Constructor

new Bot(obj)

Parameters:
Name Type Description
obj object
Source:

Extends

Members

approved :boolean

Whether or not the bot has been approved by the devs.
Type:
  • boolean
Source:

(readonly) avatar :string

The bot's Discord avatar
Type:
  • string
Source:

childFriendlyAvatar :boolean

Whether or not the bot's avatar is child friendly
Type:
  • boolean
Source:

createdAt :Date

The timestamp of the bot's creation date.
Type:
  • Date
Source:

createdTimestamp :number

The Date of when the bot was created.
Type:
  • number
Source:

discriminator :string

The bot's 4 digits.
Type:
  • string
Source:

(nullable) fullDescription :string

The bot's full description on botlist.space.
Type:
  • string
Source:

id :string

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

invite :string

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

(readonly) inviteNoPerms :string

The invite URL of the bot, with no permissions requested.
Type:
  • string
Source:

lastUpdateTimestamp :number

The timestamp of the bot's latest change on botlist.space.
Type:
  • number
Source:

(readonly) owner :User

The main owner of the bot.
Type:
Source:

(readonly) owners :Array.<User>

Users who can manage the Bot on botlist.space
Type:
Source:

(readonly) page :string

The bot's page on botlist.space.
Type:
  • string
Source:

prefix :string

The prefix that the bot uses.
Type:
  • string
Source:

(readonly) raw :object

The raw object used to create the class and gave class values.
Type:
  • object
Inherited From:
Source:

(readonly) secondaryOwners :Array.<User>

The bot's secondary owners.
Type:
Source:

serverCount :number

The bot's total server count.
Type:
  • number
Source:

(readonly, nullable) shards :Array.<number>

The bot's shards.
Type:
  • Array.<number>
Source:

shortDescription :string

The bot's short description on botlist.space.
Type:
  • string
Source:

(nullable) supportCode :string

The bot's support server invite code.
Type:
  • string
Source:

(readonly, nullable) supportURL :string

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

(readonly) tag :string

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

(readonly) tags :Array.<string>

The bot's tags (flairs) on botlist.space.
Type:
  • Array.<string>
Source:

username :string

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

(nullable) vanityCode :string

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

(readonly, nullable) vanityURL :string

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

views :Array.<number>

The amount of times the bot has been viewed by browsing users.
Type:
  • Array.<number>
Source:

Methods

toString() → {string}

Returns text that Discord recognizes as a user mention.
Source:
Returns:
Type
string