From 624eae6c332a2983049357a2f400e4d2bdffa3cb Mon Sep 17 00:00:00 2001 From: mrfluffy Date: Thu, 28 Aug 2025 01:20:05 +0100 Subject: [PATCH] delete OF message --- bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot.py b/bot.py index c3cf040..1cabc25 100644 --- a/bot.py +++ b/bot.py @@ -37,6 +37,8 @@ async def on_message(message): webhook = next((w for w in webhooks if w.name == 'FagOSWebhook'), None) if webhook is None: webhook = await message.channel.create_webhook(name='FagOSWebhook') + + await message.delete() # Delete the original # Send the modified message via webhook with original user's username and avatar await webhook.send(