#Python code for a Discord bot to delete a message isn't working

3 messages · Page 1 of 1 (latest)

bleak mesa
#

Here is the code I'm using for the command

#

@bot.command()
async def echo(ctx, *, content:str):
await ctx.send(content)
await message.delete()

bleak mesa
#

i was able to fix this :)