Slash command with limited roles selection
Hey there guys, im looking for a way to make a slash command with addRoleOption but limited to roles with specific position. Is it somehow possible to do it with that or do I have to resort to a more custom solution.
3 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 OPYour only choice is using a string option with choices.
addRoleOption is auto populated by discord and cant be changed
crap
well thanks for the answer though