Type Definitions
ClientOptions
Options you can pass upon instantiating the Client.
Type:
Properties:
Name |
Type |
Attributes |
Default |
Description |
botToken |
string
|
<optional>
|
null
|
The bot API token from Bots for Discord. |
botID |
string
|
<optional>
|
null
|
The Discord ID of a bot. |
cache |
boolean
|
<optional>
|
false
|
If true, caches fetched bots/users. |
- Source:
FetchOptions
Options you can pass when fetching something.
Type:
Properties:
Name |
Type |
Attributes |
Default |
Description |
botToken |
string
|
<optional>
|
null
|
The bot API token from Bots for Discord. |
cache |
boolean
|
<optional>
|
false
|
If true, caches fetched bots/users. |
raw |
boolean
|
<optional>
|
false
|
If true, returns the raw object in place of its class. |
- Source:
Positions
Type:
Properties:
Name |
Type |
Description |
admin |
boolean
|
|
juniorMod |
boolean
|
|
mod |
boolean
|
|
verifiedDev |
boolean
|
|
- Source:
PostOptions
Options you can pass when posting server count.
Type:
Properties:
Name |
Type |
Attributes |
Default |
Description |
botToken |
string
|
<optional>
|
null
|
The bot API token from Bots for Discord. |
guildCount |
number
|
|
|
The number of guilds the bot is in. |
- Source:
Votes
Type:
Properties:
Name |
Type |
Description |
total |
number
|
The total number of accumulated votes. |
last24Hours |
number
|
The number of votes in the past 24 hours. |
lastMonth |
number
|
The number of votes in the past month. |
- Source: