Rename the .env.example
file to .env
and fill in the details.
The following environment variables are required:
Variable | Description |
---|---|
DISCORD_TOKEN | The Discord bot token |
TRIGGER | The trigger for the bot commands |
MAINTAINER | The Discord ID of the bot maintainer |
AUTHORIZED_ROLES | The Discord IDs of the roles that are allowed to use the bot (separated with ; character) |
AUTHORIZED_CHANNELS | The Discord IDs of the channels that are allowed to use the bot (separated with ; character) |
LOG_DB | Set to true if you want to log every database query |
command-list
- Lists all commandshot-reload
- Reloads the botinfo
- Shows information about the botkill
- Kills the bot processping
- Pong!tts
- Sends a message as TTS (text-to-speech)uptime
- Shows the uptime of the bot
clean-channel [channelID]
- Delete at most 100 messages from a channel
add-custom-command [command name], [content]
- Adds a custom commanddelete-custom-command [command name]
- Deletes a custom commandlist-custom-commands
- Lists all custom commands
data [pokemon]
- Shows the data of a pokemonrand-poke
- Shows a random pokemon