How to edit a message in discord.py

You can use the Message.edit coroutine. The arguments must be passed as keyword arguments content, embed, or delete_after. You may only edit messages that you have sent.

await message.edit(content="newcontent")

Leave a Comment