Discord.py Supprimer son propre message
msg = await ctx.send("This is a message")
await msg.delete()
BagleBagleBagleBagleBagle
msg = await ctx.send("This is a message")
await msg.delete()
@client.command()
async def _clear(ctx,amount=1):
await ctx.channel.purge(limit=amount+1)
await ctx.send("This is a message", delete_after=5) # deletes message after 5 seconds