verification: advanced snarkification

This commit is contained in:
Ave Ozkal 2019-02-25 12:21:31 +03:00
parent 8d0e87ff40
commit e0bbc17a14
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

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