Conner-Anderson / discord-hvz

A Discord bot that helps manage a Humans vs. Zombies game. Built for the LeTourneau University game, but packaged up with documentation for outside use.
https://conner-anderson.github.io/discord-hvz-docs/latest/
MIT License
4 stars 0 forks source link

Allow the bot to be on multiple servers #3

Closed Conner-Anderson closed 3 years ago

Conner-Anderson commented 3 years ago

The bot currently only works with one server. We should be able to have the bot joined onto multiple servers, but we can select which one it "runs" on in code or a config file. That way, we can do real testing on the actual LETU Nerf server before the game starts (with private channels of course), and switch over to a local version as well.

This way, we can still run the dev version during HvZ by running it from a duplicate folder and changing the server variable.

Conner-Anderson commented 3 years ago

WARNING: Do not switch the bot to a different Discord server from the same folder. Copy the folder, delete the database file, change the server in the config, then run it. Probably other stuff too.