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")
More Related Contents:
- Discord Py on_message bot=False blocked?
- Why does on_message stop commands from working?
- How do I get the discord.py intents to work?
- Discord.py on_member_join not working, no error message
- How do I mention a user in discord.py?
- Python – DM a User Discord Bot
- Discord Bot can only see itself and no other users in guild
- What are the differences between Bot and Client?
- Discord.py error: TypeError: __new__() got an unexpected keyword argument ‘deny_new’
- Discord.py-rewrite wait_for() how do i use?
- Add button components to a message (discord.py)
- (discord.py) Getting a list of all of the members in a specific voice channel
- Discord ‘on_member_join’ function not working
- Client.__init__() missing 1 required keyword-only argument: ‘intents’
- How can I run an async function using the schedule library?
- AttributeError: ‘Client’ object has no attribute ‘send_message’ (Discord Bot)
- How can I send an embed via my Discord bot, w/python?
- “RuntimeWarning: coroutine ‘BotBase.load_extension’ was never awaited” after updating discord.py
- Discord.py: on_member_join suddenly stopped working
- Python Discord.py `time.sleep()` coroutine
- How to solve a “429: Too Many Requests” when running discord.py bot on repl.it?
- How do I make my discord.py bot use custom emoji?
- on_message() and @bot.command issue
- Mass DM bot was working fine and now it wont send messages
- Python [Invalid syntax] with async def
- I want to let my Discord Bot send images/gifs
- Discord.py | add role to someone
- Client.__init__() “missing 1 required keyword-only argument: ‘intents'”, or “takes 1 positional argument but 2 were given”
- Discord.py get user object from id/tag
- How to resolve the following error in discord.py: “TypeError __init__() missing 1 required keyword-only argument: ‘intents'” [duplicate]