Skip to content

Pyroan/80-Days

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord shield

Join the game Here

80-Days

A Collaborative Chat Game for Extra Credits Game Jam #5

Probably a bad idea.

I love game jams.

How To Set up An Instance Of This Jam Spaghetti (For if you want to fork and whatnot)

Honestly I'm sorry in advance.

  1. Clone the repo

  2. Install Python 3.6, and pip if you haven't already.

  3. Navigate to the repo, and run pip install -r requirements.txt

  4. Follow this guide to create an application and obtain a bot token.

  5. 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.

  6. Install DB Browser for SQLite or equivalent database browser.

  7. Import old-data/internal.sql into your viewer to create the database. The db should be called discordbot/internal.sqlite3. I'm not sure how that works.

  8. Create a Discord server using this template.

  9. Enable Discord's Developer Mode if you haven't already. (Settings -> Appearance -> Advanced -> Developer Mode)

  10. Open discordbot/config.json. Change the value for progress-annnouncements to the id for your Progress Announcements channel, and the value for test 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.
  11. 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
  1. Use that link to invite 80Days to your server.
  2. Go to any channel in your server and try !ping. If that works, you should be pretty much set.

Some tips for those who would like to contribute/fork

  • 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 :)

About

A Collaborative Chat Game for Extra Credits Game Jam #5

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages