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(