This is the repository for a board game Discord bot
BoardGameBot is a bot that can be used to quickly lookup information about board games as well as get how to play videos and much more.
discord - link
boardgamegeek - link
Google APIs Client Library for Python - link
pip install -U discord.py pip install boardgamegeek2 pip install google-api-python-client pip install python-env pip install psycopg2
-
Create a new Discord Application here
-
After creating the app on the app details page scroll down to the Bot page and create a bot.
-
Save the token for the bot
-
Go to this url https://discordapp.com/oauth2/authorize?client_id=XXXXXXXXXXXX&scope=bot and replace the client id with your app's client ID and authorize your app
-
replace the token in main.py with your token and run
Name | Description | Command |
---|---|---|
Board Game Check | Returns the BoardGameGeek.com information of a specified game. | !bg game name |
Expansion Check | Returns any expansions a game has if any. | !exp game name |
Random Game | Returns a random game title from a provided list of games separated by a comma. | !rbg game name, game name |
Random Owned Game | Returns a random game title from a user's owned list. | !robg username |
What Game Can We Play | Looks up a specified user's game collection and how many people are playing to see what games you could play | !wcwp username, number of players |
How To Play | Returns the top search result video from YouTube on how to play | !htp game name |
Next Video | Returns the next video in the last youtube search | !nxt |
Ask | Returns a search of board gaming Stack Exchange similar questions. | !ask game name,question |
Dice Roll | Returns the value of a dice roll, side number is specified by command. | !dice # of sides |
Game Ambiance | Returns the top search result video for selected topic from YouTube | !amb topic |
Expansion Check | Returns expansions for the selected game if they exist | !exp game name |
Lookup BGG User | Lookup a board game geek user's game collection | !go username |
Get Hot Games | Returns BoardGameGeeks current hot games | !ghg |
Get Hot Companies | Returns BoardGameGeeks current hot board game companies | !ghc |