A discord bot that tests users on their language (currently Spanish - vocab list sourced from AQA GCSE).
To get started, install the necessary packages:
pip install -r requirements.txt
Then edit the .env.template
file to add your discord bot token then save as .env
.
Run main.py
and you're set!
There are currently 3 commands to test yourself.
Format: q [list] - do 1 multiple choice from [list]
Pick the correct Spanish term within 5 seconds.
Format: quiz [list] [20] - do [20] multiple choice questions from [list]
Perform as many multiple choice questions (same as q command). Getting 3 wrong will stop the quiz.
Format: spell [list] [1] - do [1] spelling sessions from [list]
Translate the term from English to Spanish within 10 seconds. Your next message will be tested.
If you'd like to use a vocab list other than the one provided (e.g. French), format as a JSON file like below:
{
"Topic 1": [["French translation", "English translation"], ...],
"Topic 2": [...],
...
}
- Cleaning up code
- Better language import system
- Add slash commands
- Host an official 24/7 bot on server