How to set some command is private?
how can I set command private and using with prefix instead of auto register global slash command by framework
Solution:Jump to solution
https://www.sapphirejs.dev/docs/Guide/getting-started/getting-started-with-sapphire
followed by
https://www.sapphirejs.dev/docs/Guide/getting-started/creating-a-basic-command...
Sapphire Framework
Getting started with Sapphire | Sapphire
To install Sapphire, you need to install both discord.js and
Sapphire Framework
Creating a basic command | Sapphire
In order to start registering commands you need to create a subdirectory called commands (lowercase!) in your entry
2 Replies
Simply we just remove this block of code :
![No description](https://cdn.answeroverflow.com/1256927537515204628/image.png)
Solution
https://www.sapphirejs.dev/docs/Guide/getting-started/getting-started-with-sapphire
followed by
https://www.sapphirejs.dev/docs/Guide/getting-started/creating-a-basic-command
Sapphire Framework
Getting started with Sapphire | Sapphire
To install Sapphire, you need to install both discord.js and
Sapphire Framework
Creating a basic command | Sapphire
In order to start registering commands you need to create a subdirectory called commands (lowercase!) in your entry