tawilkinson / boardgamebot

A Discord.py bot that fetches board game data
7 stars 0 forks source link
board-game board-games boardgame boardgames discord discord-bot discord-py games python

Add it to your server!

Board Game Bot

All Contributors Python 3 CodeFactor Maintainability Updates

A Discord bot to fetch board game data and a list of places you can play them online.

Supported websites/services:

The main feature of the bot is to search Board Game Geek for information on a board game and then try to find online versions of the game to play as showcased below:

The bot's response to the command `bg game Carcassonne` which shows detials of the game and links to multiple online versions of the game

Feature List

All commands are called using bg <command> in a Discord channel. bg help will list all currently loaded commands.

Quick-Start Guide

Following the steps here should get you a test bot up and running to hack on. If you want to just add the production version to your server, you'll have to wait.

This guide assumes the following:

  1. Create a file called .env in bot/python (so the full path will be eg. /home/yourname/boardgamefest/bot/python/.env) with the following contents:
    DISCORD_TOKEN='REPLACEME'
  2. Replace REPLACEME in the .env file with your Discord Bot's Token
  3. Change directory to bot
  4. Run ./build.sh
  5. Run ./run.sh and check to see your bot comes online in Discord!

CTRL-C to end execution. Repeat steps 4 & 5 each time you make changes to bot.py.

* There is a good guide to this process

Quick-Start Guide [No Docker]

  1. Follow steps 1-2 above
  2. Change directory to bot/python
  3. Install dependencies by running pip install -r requirements.txt
    • Read requirements.txt if you need to check what they are
  4. Run python bot.py and check to see your bot comes online in Discord!

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Tom Wilkinson

💻

sonmi451

💻

Michael Warr

💻

This project follows the all-contributors specification. Contributions of any kind welcome!