Update funreplies.py

This commit is contained in:
rkh00 authored and GitHub committed 2024-02-17 10:02:04 +01:00
1 parent dd106625ea
commit e6ca4aa0e1
1 file changed
+1 -1
+1 -1
View File
@@ -76,7 +76,7 @@ class FunReplies(commands.Cog):
await message.reply(":billed_cap:")
self.previous_invokations["drikke"] = datetime.now()
elif re.search(r"(^|\W)jeg er sivert arntzen($|\W)+", message_content, flags=re.IGNORECASE):
elif re.search(r"(^|\W)j?eg er sivert arntzen($|\W)+", message_content, flags=re.IGNORECASE):
if (datetime.now() - self.previous_invokations["sivert"]).seconds > self.cooldown_seconds:
await message.reply("Nei, jeg er Sivert Arntzen!")
self.previous_invokations["sivert"] = datetime.now()