get previous command arguments after clicking button
I have a command which gathers some data from a github PR. I'm trying to add an update button. The button interaction returns a message which has a interaction component, but it does not have the options field so I can't get the previous user arguments
2 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPThere is more data provided to the command and used in the embed
I was wondering if it was possible to get all the options back since you can see them in discord
that's too bad
yes
It's for PTAL (Please Take A Look) requests for the development of the astro framework so it should work for several days and through restarts
Okay. I managed to parse all the data out of the message. It's not great, but it works