Skip to content

A discord bot that tests users on their language (currently Spanish).

License

Notifications You must be signed in to change notification settings

PTK12/discord-language-bot

Repository files navigation

discord-language-bot

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!

About

There are currently 3 commands to test yourself.

q

Format: q [list] - do 1 multiple choice from [list]

Pick the correct Spanish term within 5 seconds.

quiz

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.

spell

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.

Other

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": [...],
  ...
}

TODO

  • Cleaning up code
  • Better language import system
  • Add slash commands
  • Host an official 24/7 bot on server

About

A discord bot that tests users on their language (currently Spanish).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages