set the guild's id as the config value because lists arent allowed

and this is apparently a list
This commit is contained in:
Adrian Edwards 2020-10-18 16:31:45 -07:00
parent f6da14636a
commit 52d3d39241

View file

@ -368,8 +368,9 @@ class TextSettingsWindow(SettingsWindow):
def change_guild(self, button):
if self.ignore_guild_change:
return
g = self.guild_lookup[button.get_active()]
self.guild = g
g = self.guild_lookup[button.get_active()]
# get the guilds ID because config values must be strings
self.guild = g[0]
self.save_config()
def change_placement(self, button):