From d493fd5b1c13d8dbe1a54b68b1a82d52f4b8566e Mon Sep 17 00:00:00 2001 From: nex Date: Sat, 18 Feb 2023 12:10:54 +0000 Subject: [PATCH] Respond to shronk bot's retalliation --- cogs/events.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/cogs/events.py b/cogs/events.py index a62f94a..8c1a7f9 100644 --- a/cogs/events.py +++ b/cogs/events.py @@ -89,9 +89,16 @@ class Events(commands.Cog): await message.delete(delay=1) else: - if message.author.id == 1063875884274163732 and message.content.startswith("Congratulations!!"): - if message.channel.can_send(): - return await message.reply("Shut up SHRoNK Bot, nobody loves you.") + if message.author.id == 1063875884274163732 and message.channel.can_send(): + RESPONSES = { + "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: return if message.content: