How to limit visibililty of Slash Commands

I have around 30 commands, and some of them are special commands that I want to be visible only in my support server. If someone adds the bot from my support server, these special commands should not be visible in their server. How can I achieve this?
4 Replies
d.js toolkit
d.js toolkit2d 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! - Marked as resolved by OP
d.js docs
d.js docs2d ago
:guide: Creating Your Bot: Registering slash commands - Guild commands read more
Kbone22
Kbone22OP2d ago
Assuming I've set the special commands to be visible only in the support server, what happens if a user adds the bot from my support server to their server using the 'add app' option? Would the special commands become accessible in their server as well? okay thanks alot

Did you find this page helpful?