Can I make a list of options for each user separately in Slash command?
For example, each user has different data:
Can I make it so that the options list only offers the colors that the user has?
6 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 OPno, options are statically defined
if you want something more dynamic you need to use autocomplete, though they aren't really equivalent
I've seen implementations of this in other bots. Could it be that it's just not in Discord.js?
no
Yes, indeed. Thanks, guys.