Shut shronk bot up

This commit is contained in:
Nexus 2023-03-14 11:13:11 +00:00
parent b90aa2367d
commit f1005947a5
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -113,11 +113,13 @@ class Events(commands.Cog):
) )
RESPONSES = { RESPONSES = {
"Congratulations!!": "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!" "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(): for k, v in RESPONSES.items():
if k in message.content: if k in message.content:
await message.reply(v, delete_after=10) await message.reply("shut up", delete_after=3)
await message.delete(delay=3)
break break
# Stop responding to any bots # Stop responding to any bots
if message.author.bot is True: if message.author.bot is True: