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 :
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