BotConfig

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

Members

Properties

lvlEnabled
bool lvlEnabled [@property getter]

Returns true if user levels are enabled (e.g. lvlGetter is set)

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

lvlGetter
int delegate(User) lvlGetter;

Function which should be used to determine a given users level

token
string token;

API Authentication Token

Meta