#Edit and add field value to embed on button click?
1 messages · Page 1 of 1 (latest)
- Make a component listener
- get the context message
- get first embed from the message
- add new fields
- edit message with the updated embed
On component > create embed based on last embed > edit the embed message with the new embed
Did it work?
event.message
What?
Docs can answer most of your questions. event.ctx.message returns interacted message
For editing message use ctx.edit_origin or ctx.edit
Then use ctx.edit_origin