Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 26 days 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-09-16T18:00:45.000Z (about 2 years ago)
- Last Synced: 2024-10-15T06:52:17.685Z (about 1 month 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 [![License](https://img.shields.io/badge/license-GPLv3-blue.svg)](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.