Interface: MessageCommandContext
Hierarchy
Record
<PropertyKey
,unknown
>↳
MessageCommandContext
Properties
commandName
• commandName: string
The alias used to run this command.
Defined in
projects/framework/src/lib/structures/Command.ts:738
commandPrefix
• commandPrefix: string
The matched prefix, this will always be the same as prefix if it was a string, otherwise it is
the result of doing prefix.exec(content)[0]
.
Defined in
projects/framework/src/lib/structures/Command.ts:743
prefix
• prefix: string
| RegExp
The prefix used to run this command.
This is a string for the mention and default prefix, and a RegExp for the regexPrefix
.