aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-05-30 23:14:21 +0200
committerGravatar Leon Sandøy <[email protected]>2020-05-30 23:14:21 +0200
commit1cc1b3851871dfff5690432960ade09fe8ab5794 (patch)
treee54e7751b39e7b08b5fb3d4b180d07c62ade67dc
parentMerge branch 'master' into remove_periodic_ping (diff)
Oops, add the return back.
We do not wanna process bot messages.
-rw-r--r--bot/cogs/verification.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/cogs/verification.py b/bot/cogs/verification.py
index 0a087cee9..ae156cf70 100644
--- a/bot/cogs/verification.py
+++ b/bot/cogs/verification.py
@@ -55,6 +55,7 @@ class Verification(Cog):
if message.author.bot:
# They're a bot, delete their message after the delay.
await message.delete(delay=BOT_MESSAGE_DELETE_DELAY)
+ return
# if a user mentions a role or guild member
# alert the mods in mod-alerts channel