Discord input for micro-bot
This was originally written by Aleksandr Tihomirov (@zet4) and can be found at https://github.com/zet4/micro-misc/.
You have to supply an application token via
Head over to Discord's developer introduction to learn how to create applications and how the API works.
Set a command prefix with
--discord_prefix. The default prefix is
You can mention the bot or use the prefix to run a command.
Pass a list of comma-separated user IDs with
--discord_whitelist. Only allow
these users to use the bot.
func CheckPrefixFactory ¶
CheckPrefixFactory Creates a prefix checking function and stuff.