#Edit embed after modal response?
1 messages · Page 1 of 1 (latest)
can you send your code?
ok I think you're mixing few things around here
you answer to ctx by sending the modal, but then after you defer that ctx?? Not needed since you already answered it
same for modal_ctx, you modal_ctx.send() to answer the interaction but afterwards try to modal_ctx.edit() which won't work since you already answered
so the message you want to edit, is the one sent by modal_ctx.send() ?
and you want to edit it after an interaction or just edit it?
ok so if I understand well:
- enter /event_setup > creates the blue embed + buttons
- click on join > opens modal > edits the blue embed (do you still want to send this ephemeral answer or not?)
ok so in that case you want to get a reference to the blue embed message (msg = ctx.send()), and later when needed, msg.edit()
note that ctx.edit and msg.edit are NOT the same
one acts as a response for an interaction (button, command...) while other is just a message edit