mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Respond to shronk bot's retalliation
This commit is contained in:
parent
e59883c535
commit
d493fd5b1c
1 changed files with 10 additions and 3 deletions
|
@ -89,9 +89,16 @@ class Events(commands.Cog):
|
||||||
await message.delete(delay=1)
|
await message.delete(delay=1)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if message.author.id == 1063875884274163732 and message.content.startswith("Congratulations!!"):
|
if message.author.id == 1063875884274163732 and message.channel.can_send():
|
||||||
if message.channel.can_send():
|
RESPONSES = {
|
||||||
return await message.reply("Shut up SHRoNK Bot, nobody loves you.")
|
"Congratulations!!": "Shut up SHRoNK Bot, nobody loves you.",
|
||||||
|
"You run on a Raspberry Pi... I run on a real server": "At least my server gets action, "
|
||||||
|
"while yours just sits and collects dust!"
|
||||||
|
}
|
||||||
|
for k, v in RESPONSES.items():
|
||||||
|
if k in message.content:
|
||||||
|
await message.reply(v)
|
||||||
|
break
|
||||||
if message.author.bot is True:
|
if message.author.bot is True:
|
||||||
return
|
return
|
||||||
if message.content:
|
if message.content:
|
||||||
|
|
Loading…
Reference in a new issue