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
| Setting | What it does |
|---|---|
| Message | The new text. |
| Embed | The new embed. |
| Buttons and menus | The new component set. |
| Remove its buttons and menus | With 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.
Related
Was this page helpful?