cara menghapus pesan sebelumnya menggunakan discord.py
@client.event
async def on_message(message):
await message.delete(message)
Energetic Eel
@client.event
async def on_message(message):
await message.delete(message)