remove "spam" funreply

This commit is contained in:
LBlend committed 2024-02-25 13:50:48 +01:00
1 parent 5787d38e74
commit 99336df31d
1 file changed
-5
-5
View File
@@ -76,11 +76,6 @@ class FunReplies(commands.Cog):
await message.reply("Nei, jeg er Sivert Arntzen!")
self.previous_invokations["sivert"] = datetime.now()
elif re.search(r"(^|\W)spam($|\W)+", message_content, flags=re.IGNORECASE):
if (datetime.now() - self.previous_invokations["spam"]).seconds > self.cooldown_seconds:
await message.reply("https://www.youtube.com/watch?v=zLih-WQwBSc")
self.previous_invokations["spam"] = datetime.now()
async def setup(bot: commands.Bot):
"""