Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Interaction.edit #20

malikmajai started this conversation in General
May 1, 2022 · 1 comments · 7 replies
Discussion options

Why I can't edit an interaction twice?
image

You must be logged in to vote

Replies: 1 comment 7 replies

Comment options

Should bee possible. Do you get any erros? But you should be able to edit it multiple times by putting the first edit in a variable like

mes = await interaction.edit(...)
await mes.edit(...)
You must be logged in to vote
7 replies
Comment options

Hm.. lol ... try use

await interaction.callback_message.edit(...)

Otherwise I can't fix it right now because I have a 3 hour drive ahead of me

Comment options

Same error as above. Have a Safe Journey.

Comment options

Thank you and sorry for the problems. You vould try to create a PartialMessage object with the message id and edit this one.

Comment options

interaction.message.edit works. But I have main embed interface there. I just wondered if it is possible to edit interaction multiple times. Like after a await interaction.respond(...)

Comment options

The Interaction.edit is a bit weird atm.
But yes, in general you can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /