- Install ffmpeg, this will be needed to process audio files
- Provide the required flags through command line or env vars:
--admin-role
($DISCORD_ADMIN_ROLE
): ID for the role that will be required to perform some commands--token
($DISCORD_TOKEN
): Token for your bot, see https://discord.com/developers/applications
Commands can be run in any channel the bot has read access to. Any message starting with /
will be interpretted as a command.
/help
: display all available commands/kill
: disable the bot, only works when run by user with admin role/roll [NUM]: generate a random number between 0 (exclusive) and
NUM(inclusive), in math notation this is [0, NUM).
NUM` defaults to 100./audio
:disconnect
: disconnect from current voice channeljoin
: join you current voice channellist
: list available sound clipsplay NAME
: plays a sound clip, see audio listremove NAME
: remove a sound clip, see audio liststop
: stop playing the current sound clipupload
: upload sound clip(s) using attachments, see audio list
/roles
assign @USER @ROLE
: assign a user to a role, requires admin rolecreate NAME
: create a role, requires admin rolejoin @ROLE
: join a roleleave @ROLE
: leave a rolelist
: list all roles you currently haveremove @ROLE
: remove a role, requires admin role