Skip to content

A Discord bot that asks trivia questions related to the game World of Warcraft.

License

Notifications You must be signed in to change notification settings

Amdrel/lorewalker-cho

Repository files navigation

Lorewalker Cho License

Cho Trivia is a Discord bot that asks trivia questions related to the game World of Warcraft.

Contributing

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.

Building

The project requires a recent version of python (3.6+) and uses pip to manage dependencies.

Running

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"

License

This work is licensed under the GPLv3.

About

A Discord bot that asks trivia questions related to the game World of Warcraft.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages