chore: patch yet another spam (Discord is failing)

This commit is contained in:
2025-12-07 19:41:10 +01:00
parent 726e19565e
commit a99b82265e

View File

@@ -449,7 +449,7 @@ async def handle_message(message, bot):
await message.delete()
return
if len(message.embeds) > 2:
if len(message.embeds) > 2 or len(message.attachments) > 3:
member = message.guild.get_member(message.author.id)
await timeout_member(member, timedelta(minutes=5), "Too many embeds")
await message.delete()