This has to be done once, usually.
If you already have your DISCORD_CLIENT_ID and DISCORD_TOKEN, you can skip these steps and go straight to Add Bot Config.
Create an application here: https://discord.com/developers/applications
- Go to "Bot" on the left side.
- Click "Add Bot" and confirm.
Set these permissions:
Click on "Reset Token" and copy the token that is generated. This is your DISCORD_TOKEN.
Once you have your DISCORD_CLIENT_ID and DISCORD_TOKEN, you can create a new config and fill in these values:
cp ./config.template.json ./config.json
$EDITOR config.jsonThe config template is pre-filled with valid values for Coding-Test-Zentrale. If you add new config values, also add them in the config template.
Tip
As the config.json is actually a .jsonc file, it supports comments and trailing commas. If you use VSCode, you can set the syntax mode to JSONC.



