Is it possible to save hidden data in embed?
Is there anyway to save hidden data in embed, because i have command sending an embed and that embed has buttons, after user clicking the button, i need to extract a data from command parameters like a channelId or something, is it possible?
8 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 OP
here is my command's execute function
here is my button's execute function
im thinking a way, i can store the id thing in my customId, is it a good way?
No. Use collectors
oh, i got it, i'll send the embed and then i'll wait for the button interaction right?
yes
In TypeScript the
ActionRowBuilder
class has a generic type parameter that specifies the type of component the action row holds:
oh thank you so much