From e11ba8eb96ff98ddb19c7c50e8822e4e429abb52 Mon Sep 17 00:00:00 2001 From: Adrian Edwards <17362949+MoralCode@users.noreply.github.com> Date: Sun, 18 Oct 2020 16:30:28 -0700 Subject: [PATCH] set the guild as well if guild and channel do not match --- discover_overlay/text_settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/discover_overlay/text_settings.py b/discover_overlay/text_settings.py index 12ff921..7ed642e 100644 --- a/discover_overlay/text_settings.py +++ b/discover_overlay/text_settings.py @@ -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()