mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
1 file changed
+1
-1
@@ -71,7 +71,7 @@ class FunReplies(commands.Cog):
|
||||
await message.reply("<:Nei:826593267642662912>")
|
||||
self.previous_invokations["yeet"] = datetime.now()
|
||||
|
||||
elif re.search(r"(^|\W)skal aldri drikke\s?\w*\s?igjen($|\W)+", message_content, flags=re.IGNORECASE):
|
||||
elif re.search(r"(^|\W)skal aldri drikke[\w\s]*igjen($|\W)+", message_content, flags=re.IGNORECASE):
|
||||
if (datetime.now() - self.previous_invokations["drikke"]).seconds > self.cooldown_seconds:
|
||||
await message.reply(":billed_cap:")
|
||||
self.previous_invokations["drikke"] = datetime.now()
|
||||
|
||||
Reference in new issue
Block a user