diff --git a/antiphoneclapper/antiphoneclapper.py b/antiphoneclapper/antiphoneclapper.py index 1a38d64..0257356 100644 --- a/antiphoneclapper/antiphoneclapper.py +++ b/antiphoneclapper/antiphoneclapper.py @@ -77,7 +77,8 @@ class AntiPhoneClapper(BaseCog): watch_channel_list = await self.config.guild(m.guild).watching() if not watch_channel_list: return - + if m.channel.id not in watch_channel_list: + return for att in m.attachments: if not att.filename.endswith(".gif") or att.size > 200000: continue