[V3 AntiPhoneClapper] Actually listen to the right channels

This commit is contained in:
aikaterna
2019-02-01 16:23:48 -08:00
parent 4f60deb69a
commit f8e8568574

View File

@@ -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