- The bot waits for reactions to the user-defined message and initiates a user-defined quiz through DM with people who reacted. If they pass, a user-defined role will be assigned / removed or both. If they fail, an optional cooldown will be applied.
- Open the command line in the folder containing app.js and type npm install. This will download the required discord.js files.
- discord bot token
- URL of the message that initiates the quiz
- minutes
- number of questions to fetch at random from quiz.json
- hours
- e.g. 2: each failed attempt doubles the cooldown
-
- ID of role to assign after completion
- ID of role to remove after completion
- infinite number of questions
- 1 correct answer per question
- 1 to 4 incorrect answers per question
- positions are randomized
- Open the command line in the folder containing app.js and type node app.js