set the guild as well if guild and channel do not match
This commit is contained in:
parent
b1adea4199
commit
e11ba8eb96
1 changed files with 3 additions and 0 deletions
|
|
@ -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()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue