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
d.js toolkit
d.js toolkit4mo ago
- 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!
treble/luna
treble/luna4mo ago
No, no and no The second can be somewhat achieved by deploying guild commands with admin permissions set
Rin Shima
Rin ShimaOP4mo ago
is there a chance this can be added in the future?
Mark
Mark4mo ago
Ask discord
Rin Shima
Rin ShimaOP4mo ago
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.
Fede
Fede4mo ago
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
Want results from more Discord servers?
Add your server