Skip to Content
BuildcordDocs

Update the button's message

Answer a button press by changing the message the button is on.

message.update answers a button press by changing the message that holds the button, instead of sending a new one.

Settings

SettingWhat it does
MessageThe new text.
EmbedThe new embed.
Buttons and menusThe new component set.
Remove its buttons and menusWith no component set chosen, take the message's buttons and menus away. Off, it keeps the ones it has.

Ways out

out.

Notes

  • Use it in a button action flow or after a Message with buttons press.
  • To stop further presses, turn on Remove its buttons and menus, or pick a component set with the buttons disabled.
  • It also works after a form opened from a button or menu: it changes the message the button or menu was on.

Example

After someone votes in a poll, update the poll message with the new totals.

Was this page helpful?