Default RoleSelectMenu options
I am trying to set default options (ones that are already selected when the user sees the select menu), but this doesn't seem to be possible. My question is if this is possible or if I am just blind.
Look at the first image for my preferred use case, where I want users to be able to change the set roles. (I want the roles that are set right now to pop up as selected upon load)
I couldn't find anything in the docs either: https://discord.js.org/docs/packages/builders/1.6.5/RoleSelectMenuBuilder:Class
builders | RoleSelectMenuBuilder
A builder that creates API-compatible JSON data for role select menus.
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!https://github.com/discord/discord-api-docs/discussions/5735
so you cant preselect things for new selects
but maybe in the feature