Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to set some command is private? - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
โข
2y ago
โข
4 replies
HellCatVN
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
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
Jump to solution
Sapphire - Imagine a Framework
Join
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,261
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Slash Command : How to set the type channel option to voice only
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
how to make message when command is in cooldown?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
How necessary (in practice) is it to set idhints?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
How to get ID of command?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago