git clone https://github.com/salahmak/reward-system-discord-bot
cd reward-system-discord-bot
yarn #or npm install, to install dependencies
Before you start the bot, make sure to create a ".env" file and write the required tokens and keys for the bot to work
cp .env.example .env #to create a template .env file that you'll have to fill yourself
- Discord bot token (make sure to enable all Intents).
- Mongodb database
- Prefix: set it in the .env file
Name | Type | Description | Usage | Aliases |
---|---|---|---|---|
help | guild | shows helpful information about all available commands |
|
h |
ping | guild | prints the response latency from the server |
<pfx> ping
|
N/A |
award | ranking | used to grant users awards when completing a challenge |
|
reward |
remove | ranking | used to remove awards from users |
|
rm |
profile | ranking | Shows the score and number of solved challenges of a user |
|
p |
leaderboard | ranking | Shows top 10 users sorted by amount of points |
|
lb |
challenges | challenges | Allows adding, removing, editing and listing challenges |
|
ch, challenge |