PhlexPlexico / G5-Bot

PUG Bot to use with G5API
GNU General Public License v3.0
10 stars 4 forks source link

[Enhancement] Rewrite Bot to Be Multi-server friendly #14

Open PhlexPlexico opened 3 years ago

PhlexPlexico commented 3 years ago

Right now the bot is only able to process one server per instance. It can only accept one room, two voice channels, one group and one guild. A good feature to start incorporating would be to remove all these settings from the settings.ini file, and move them into the sqllite database. That way, the bot could join a server, and go through a whole setup shpiel to allow for use in multiple servers across a single instance.

This basically will require yet another re-write of the bot, including some of the logic for checking the globals.py (which would now be stored as an object for each captain/team/etc. Most likely as such:

{
  "guildID": {
    "captain": "discordID",
    "team1": ["list", "of", "ids"],
  }
}

Or something to that extent.