Class RegisteredChatCommand
Methods
Static
parseCommandUsageString
checkArguments
- checkArguments(prefix: string, args: string[]): CommandCallError | Record<string, string>
-
Parameters
-
prefix: string
-
args: string[]
Returns CommandCallError | Record<string, string>
Properties
Readonly
description
description: string
Verify that an array of arguments correctly fits the usage of this command.
Returns
The arguments mapped from parameter name to value of the argument passed.