FoofyFox Sandstorm 2
General-purpose Discord bot in C++
|
FoofyFox Sandstorm 2 is a general-purpose Discord bot, primarily responding to textual commands. A music player feature, where users upload their music in the form of .mp3 files, is also provided.
Users are to enter a command with the following syntax to activate the functions of the bot:
Each parameter is specified below:
command_switch
: one-character switch, with a default value '-'.command
: a command that is registered with the bot.args
: arguments to the command, separated by spaces. "" and '' delimiters are allowed.An extended Backus-Naur form for the implemented Sandstorm language is provided below:
Do note that for quotes ('\'' or '"'), these are checked, context-sensitive, by helper functions in ffss::SSUtility and are not represented in the language above.
The bot can be started with a minimum of the following command:
Where the token must be provided.
Other options are avaliable as follows: