verification: bad bot.
This commit is contained in:
parent
07dc7587f5
commit
59ea02d2cf
1 changed files with 12 additions and 7 deletions
|
@ -170,6 +170,10 @@ class Verification:
|
||||||
chan = message.channel
|
chan = message.channel
|
||||||
mcl = message.content.lower()
|
mcl = message.content.lower()
|
||||||
|
|
||||||
|
if message.content.lower() in ["bad bot", "broken bot"]:
|
||||||
|
snark = random.choice(["bad human", "no u"])
|
||||||
|
return chan.send(snark)
|
||||||
|
|
||||||
# Get the role we will give in case of success
|
# Get the role we will give in case of success
|
||||||
success_role = guild.get_role(config.participant_role)
|
success_role = guild.get_role(config.participant_role)
|
||||||
|
|
||||||
|
@ -182,7 +186,8 @@ class Verification:
|
||||||
close_names += [(cn + '\n') for cn in close_names]
|
close_names += [(cn + '\n') for cn in close_names]
|
||||||
allowed_names += [(an + '\r\n') for an in allowed_names]
|
allowed_names += [(an + '\r\n') for an in allowed_names]
|
||||||
close_names += [(cn + '\r\n') for cn in close_names]
|
close_names += [(cn + '\r\n') for cn in close_names]
|
||||||
allowed_names += [(an + '\r') for an in allowed_names] # [ ͡° ͜ᔦ ͡°] 𝐖𝐞𝐥𝐜𝐨𝐦𝐞 𝐭𝐨 𝐌𝐚𝐜 𝐎𝐒 𝟗.
|
# [ ͡° ͜ᔦ ͡°] 𝐖𝐞𝐥𝐜𝐨𝐦𝐞 𝐭𝐨 𝐌𝐚𝐜 𝐎𝐒 𝟗.
|
||||||
|
allowed_names += [(an + '\r') for an in allowed_names]
|
||||||
close_names += [(cn + '\r') for cn in close_names]
|
close_names += [(cn + '\r') for cn in close_names]
|
||||||
|
|
||||||
# Finally, hash the stuff so that we can access them later :)
|
# Finally, hash the stuff so that we can access them later :)
|
||||||
|
@ -219,7 +224,7 @@ class Verification:
|
||||||
await chan.send("💢 I don't have permission to do this.")
|
await chan.send("💢 I don't have permission to do this.")
|
||||||
|
|
||||||
async def on_message_edit(self, before, after):
|
async def on_message_edit(self, before, after):
|
||||||
if message.author.bot:
|
if after.author.bot:
|
||||||
return
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue