aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-08-04 21:26:47 +0200
committerGravatar kwzrd <[email protected]>2020-08-04 21:53:20 +0200
commit39d7b32b258def7f9fcf01bebb4f82013ae2de76 (patch)
tree0728493051f7e8ace7be1749a4e8fe5730a53d96
parentVerification: add reminder cache (diff)
Verification: ignore verification reminder message event
-rw-r--r--bot/cogs/verification.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bot/cogs/verification.py b/bot/cogs/verification.py
index e32224554..ca7631db2 100644
--- a/bot/cogs/verification.py
+++ b/bot/cogs/verification.py
@@ -301,6 +301,9 @@ class Verification(Cog):
if message.channel.id != constants.Channels.verification:
return # Only listen for #checkpoint messages
+ if message.content == REMINDER_MESSAGE.strip():
+ return # Ignore bots own verification reminder
+
if message.author.bot:
# They're a bot, delete their message after the delay.
await message.delete(delay=BOT_MESSAGE_DELETE_DELAY)