From e0bbc17a148d9dd2afa33ade9dd7bacdb99ff7e8 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Mon, 25 Feb 2019 12:21:31 +0300 Subject: [PATCH] verification: advanced snarkification --- cogs/verification.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/cogs/verification.py b/cogs/verification.py index 53b160a..54d944a 100644 --- a/cogs/verification.py +++ b/cogs/verification.py @@ -170,8 +170,14 @@ class Verification: chan = message.channel mcl = message.content.lower() - if message.content.lower() in ["bad bot", "broken bot"]: - snark = random.choice(["bad human", "no u", "pebkac"]) + if "bot" in mcl and ("bad" in mcl or + "broken" in mcl or + "buggy" in mcl or + "bugged" in mcl or + "stupid" in mcl): + snark = random.choice(["bad human", + "no u", + "pebkac"]) return await chan.send(snark) # Get the role we will give in case of success