Cho Trivia is a Discord bot that asks trivia questions related to the game World of Warcraft.
I can always use more questions and answers for Cho, feel free to make pull requests with new questions and answers if you want to help out.
The project requires a recent version of python (3.6+) and uses pip to manage dependencies.
A bot token is required for running Cho.
# Install dependencies.
python3 -m venv venv
source ./venv/bin/activate
pip install -r requirements.txt
# Setup the postgres database schema (requires an empty db)
source ./env.sh
alembic upgrade head
# Run the bot.
./lorewalker-cho.sh
# Done!
An example environment file:
export CHO_DISCORD_TOKEN="<your_discord_token>"
export CHO_PG_HOST="/var/run/postgresql"
export CHO_PG_DATABASE="cho_trivia"
This work is licensed under the GPLv3.