https://github.com/Amdrel/lorewalker-cho
A Discord bot that asks trivia questions related to the game World of Warcraft.
https://github.com/Amdrel/lorewalker-cho
bot discord-bot postgresql python python3 trivia world-of-warcraft wow
Last synced: over 1 year ago
JSON representation
A Discord bot that asks trivia questions related to the game World of Warcraft.
- Host: GitHub
- URL: https://github.com/Amdrel/lorewalker-cho
- Owner: Amdrel
- License: gpl-3.0
- Created: 2017-11-12T23:46:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-09-16T18:00:45.000Z (almost 4 years ago)
- Last Synced: 2025-02-28T05:51:07.797Z (over 1 year ago)
- Topics: bot, discord-bot, postgresql, python, python3, trivia, world-of-warcraft, wow
- Language: Python
- Size: 2.46 MB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# Lorewalker Cho [](COPYING)
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.
```bash
# 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:
```bash
export CHO_DISCORD_TOKEN=""
export CHO_PG_HOST="/var/run/postgresql"
export CHO_PG_DATABASE="cho_trivia"
```
## License
This work is licensed under the GPLv3.