BotConfig

Configuration that can be used to control the behavior of the Bot.

Members

Functions

shardInfo
ShardInfo* shardInfo()

Undocumented in source. Be warned that the author may not have intended to support it.

Variables

cmdPrefix
string cmdPrefix;

Command prefix (can be empty for none)

cmdRequireMention
bool cmdRequireMention;

Whether the bot requires mentioning to respond

features
uint features;

Bitwise flags from BotFeatures

levelsEnabled
bool levelsEnabled;

Whether the bot should use permission levels

numShards
ushort numShards;

The total number of shards

shard
ushort shard;

Shard number of this instance

token
string token;

API Authentication Token

Meta