mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
Update funreplies.py
This commit is contained in:
1 parent
3d455bbb25
commit
543ff28e57
1 file changed
+7
-4
@@ -47,15 +47,18 @@ class FunReplies(commands.Cog):
|
||||
|
||||
message_content = message.content.lower()
|
||||
|
||||
if re.search(r"(^|\W)borgerlønn(\W|$)", message_content, flags=re.IGNORECASE):
|
||||
if (datetime.now() - self.previous_invokations["borgerlønn"]).seconds > self.cooldown_seconds:
|
||||
await message.reply("<@267415183931080715> DE SNAKKER OM BORGERLØNN")
|
||||
self.previous_invokations["borgerlønn"] = datetime.now()
|
||||
|
||||
elif re.search(r"(^|\W)olof palme(\W|$)", message_content, flags=re.IGNORECASE):
|
||||
if re.search(r"(^|\W)olof palme(\W|$)", message_content, flags=re.IGNORECASE):
|
||||
if (datetime.now() - self.previous_invokations["olof palme"]).seconds > self.cooldown_seconds:
|
||||
await message.reply("Jeg vet hvem som drepte Olof Palme 👀")
|
||||
self.previous_invokations["olof palme"] = datetime.now()
|
||||
|
||||
if re.search(r"(^|\W)borgerlønn(\W|$)", message_content, flags=re.IGNORECASE):
|
||||
if (datetime.now() - self.previous_invokations["borgerlønn"]).seconds > self.cooldown_seconds:
|
||||
await message.reply("<@267415183931080715> DE SNAKKER OM BORGERLØNN")
|
||||
self.previous_invokations["borgerlønn"] = datetime.now()
|
||||
|
||||
|
||||
elif re.search(r"(^|\W)olof palme(\W|$)", message_content, flags=re.IGNORECASE):
|
||||
|
||||
|
||||
Reference in new issue
Block a user