aa battery
Explore posts from serversDIAdiscord.js - Imagine an app
β’Created by aa battery on 9/16/2023 in #djs-questions
Cannot edit interaction after modal input
Ok so here is my problem, I want to achieve something like so:
Step 1: send interaction with button
Step 2: user clicks button
Step 3: modal shows and user enters stuff
Step 4: after submit edit the original interaction
Problem is, editReply() and updateMessage() doesn't let me do that (replying to the modal works) and discord api returns with a "Unknown Webhook" error:
Is there a way to achieve step 4 as defined?
52 replies
DIAdiscord.js - Imagine an app
β’Created by aa battery on 9/14/2023 in #djs-questions
Unable to use updateMessage() on a message that has already used updateMessage()
So I have this modal that when it is submitted, it modifies the message that had the button to show the modal to say "Loading..." while I have some stuff running, but then if I want to use updateMessage() on that message it wont work and would give me this:
8 replies
DIAdiscord.js - Imagine an app
β’Created by aa battery on 9/14/2023 in #djs-questions
Error running a select menu inside a modal (not sure if that's really the issue)
I have this action row with a text box and a select menu which i put inside a modal that is activated with a button:
5 replies