Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Checking for flags in message commands - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
•
3y ago
•
8 replies
redicides
Checking for flags in message commands
I
'm trying to add a
--silent
--silent
flag which if present will make the punishment silent
(the user won
't get a dm
)
. Is this possible through sapphire
?
Solution
https://www.sapphirejs.dev/docs/Guide/arguments/using-flags
Sapphire Framework
Using flags | Sapphire
So far we have covered arguments
, which are positional
- i
.e
.
, the order of the arguments matters and they are parsed in
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
CommandStores not showing commands in order
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Message commands help
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
Message commands not working
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
Slash and message commands.
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago