Struct BotConfig

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

Fields

Name Type Description
cmdPrefix string Command prefix (can be empty for none)
cmdRequireMention bool Whether the bot requires mentioning to respond
features uint Bitwise flags from BotFeatures
levelsEnabled bool Whether the bot should use permission levels
numShards ushort The total number of shards
shard ushort This bot instances shard number
token string API Authentication Token

Properties

Name Type Description
shardInfo [get] ShardInfo*