discord py delete bot message code example Example: delete message discord.py @client.event async def on_message(message): await message.delete()