diff --git a/discover_overlay/text_settings.py b/discover_overlay/text_settings.py index 3464e36..46d0196 100644 --- a/discover_overlay/text_settings.py +++ b/discover_overlay/text_settings.py @@ -364,9 +364,10 @@ class TextSettingsWindow(SettingsWindow): return c = self.channel_lookup[button.get_active()] self.channel = c + channel_guild = self.list_channels[c]["guild_id"] # if the channel is not from the current guild, set the guild too - if c["guild_id"] != self.guild: - self.guild = c["guild_id"] + if channel_guild != self.guild: + self.guild = channel_guild self.save_config()