Respond to shronk bot's retalliation

This commit is contained in:
Nexus 2023-02-18 12:10:54 +00:00
parent e59883c535
commit d493fd5b1c
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

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