Join the game Here
A Collaborative Chat Game for Extra Credits Game Jam #5
Probably a bad idea.
I love game jams.
-
Clone the repo
-
Install Python 3.6, and
pip
if you haven't already. -
Navigate to the repo, and run
pip install -r requirements.txt
-
Follow this guide to create an application and obtain a bot token.
-
Set an environment variable (you'll have to look up how to do this on your own system/container) called
80DAYS_TOKEN
and use the token you acquired in the previous step as the value. -
Install DB Browser for SQLite or equivalent database browser.
-
Import
old-data/internal.sql
into your viewer to create the database. The db should be calleddiscordbot/internal.sqlite3
. I'm not sure how that works. -
Create a Discord server using this template.
-
Enable Discord's Developer Mode if you haven't already. (Settings -> Appearance -> Advanced -> Developer Mode)
-
Open
discordbot/config.json
. Change the value forprogress-annnouncements
to the id for your Progress Announcements channel, and the value fortest
to the id your test channel. You can get the ids by right clicking on the channel in Discord and clicking "Copy ID".- While you're here, it might be best if you set
game-ongoing
to 0 as well, if it isn't already.
- While you're here, it might be best if you set
-
Run
start.sh
. If everything works, you should find this somewhere in your output:
INFO:root:Use this link to invite 80Days:
INFO:root:https://discordapp.com/oauth2/authorize?client_id={YOUR CLIENT ID HERE}&scope=bot&permissions=8
- Use that link to invite 80Days to your server.
- Go to any channel in your server and try
!ping
. If that works, you should be pretty much set.
- You'll probably need the docs for discord.py and schedule
- As players join they'll be randomly assigned a flair
- Those who have role specified in
config.admin_role
can use hidden commands!startgame
and!endgame
, though end of game will normally happen automatically. - Also, if you're currently playing this game, maybe don't use the data to cheat? That'd be nice :)