set the guild as well if guild and channel do not match

This commit is contained in:
Adrian Edwards 2020-10-18 16:30:28 -07:00
parent b1adea4199
commit e11ba8eb96

View file

@ -360,6 +360,9 @@ class TextSettingsWindow(SettingsWindow):
return
c = self.channel_lookup[button.get_active()]
self.channel = c
# if the channel is not from the current guild, set the guild too
if c["guild_id"] != self.guild:
self.guild = c["guild_id"]
self.save_config()