Is this possible with discord.js?
Is it possible to make a slash commands where in some options are hidden to certain users, also a slash command which is only able to be ran by developers of the bot and is it possible to hide certain options based on previous options the user has given within the slash command?
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!No, no and no
The second can be somewhat achieved by deploying guild commands with admin permissions set
is there a chance this can be added in the future?
Ask discord
pain, but I'll try.
They said It'll probably be added to some future update, but all were not currently not possible using the current API system.
I mean you could try to do it manually with code, accepting anyone to run the code but internally doing all the checks about the user running it to use some options or to run the command