fix(text): Actually ignore unhandled msgs.
This commit is contained in:
@@ -223,6 +223,7 @@ class TextTrackerCog(LionCog):
|
|||||||
channel.category_id
|
channel.category_id
|
||||||
except discord.ClientException:
|
except discord.ClientException:
|
||||||
logger.debug(f"Ignoring message from channel with no parent: {message.channel}")
|
logger.debug(f"Ignoring message from channel with no parent: {message.channel}")
|
||||||
|
return
|
||||||
|
|
||||||
# Untracked channel ward
|
# Untracked channel ward
|
||||||
untracked = self.untracked_channels.get(guildid, [])
|
untracked = self.untracked_channels.get(guildid, [])
|
||||||
|
|||||||
Reference in New Issue
Block a user