Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Prefix - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
•
2y ago
•
5 replies
čamdžić
Prefix
How to get prefix of executed command in messageRun
?
I have more of them so I need to get one sender used
Solution
commandPrefix probably
. The difference is that prefix can be a RegExp object if a RegEx was used to run the command
.
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
custom prefix
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Custom prefix
S-IaF
Sapphire - Imagine a Framework / sapphire-support
4y ago
Message arguments prefix
S-IaF
Sapphire - Imagine a Framework / sapphire-support
9mo ago
API Plugin Prefix
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago