verification: cleaner snark
This commit is contained in:
parent
e0bbc17a14
commit
84bb388906
1 changed files with 4 additions and 5 deletions
|
@ -170,13 +170,12 @@ class Verification:
|
||||||
chan = message.channel
|
chan = message.channel
|
||||||
mcl = message.content.lower()
|
mcl = message.content.lower()
|
||||||
|
|
||||||
if "bot" in mcl and ("bad" in mcl or
|
# Reply to users that insult the bot
|
||||||
"broken" in mcl or
|
oof = ["bad", "broken", "buggy", "bugged", "stupid"]
|
||||||
"buggy" in mcl or
|
if "bot" in mcl and any(insult in mcl for insult in oof):
|
||||||
"bugged" in mcl or
|
|
||||||
"stupid" in mcl):
|
|
||||||
snark = random.choice(["bad human",
|
snark = random.choice(["bad human",
|
||||||
"no u",
|
"no u",
|
||||||
|
"no u, rtfm",
|
||||||
"pebkac"])
|
"pebkac"])
|
||||||
return await chan.send(snark)
|
return await chan.send(snark)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue