From ebe175d2fffa6adb965d43abc5c0bc0cb2aae9bc Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Mon, 28 Jan 2019 02:04:24 +0300 Subject: [PATCH] hotfix --- cogs/verification.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cogs/verification.py b/cogs/verification.py index 3183caa..0960a43 100644 --- a/cogs/verification.py +++ b/cogs/verification.py @@ -198,6 +198,9 @@ class Verification: await chan.send(f"{message.author.mention} :no_entry: Incorrect. You need to do something *specific* with your name and discriminator instead of just posting it. Please re-read the rules carefully and look up any terms you are not familiar with.") async def on_message(self, message): + if message.author.bot: + return + try: await self.process_message(message) except discord.errors.Forbidden: @@ -205,6 +208,9 @@ class Verification: await chan.send("💢 I don't have permission to do this.") async def on_message_edit(self, before, after): + if message.author.bot: + return + try: await self.process_message(after) except discord.errors.Forbidden: