Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Subcommand groups - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
•
2y ago
•
11 replies
4ngel🍁
Subcommand groups
how can I create subcommand groups that also have optional string
/ user selection in the command
?
Solution
https://www.sapphirejs.dev/docs/Guide/plugins/Subcommands/subcommand-groups#chat-input-command-subcommand-groups-usage
Sapphire Framework
Using Subcommand Groups | Sapphire
The following examples will show off how to map subcommands within a group to methods in your command class
. They will
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
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Issue with subcommand groups
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
subcommand
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Subcommand Inquiry
S-IaF
Sapphire - Imagine a Framework / sapphire-support
9mo ago
Subcommand Aliases
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago