MessageCommandParser

class

MessageCommandParser

source
export class MessageCommandParser implements MessageCommandParser.Data
export class MessageCommandParser implements MessageCommandParser.Data
constructor(options: MessageCommandParser.Options)
constructor(options: MessageCommandParser.Options)
ParamTypeRequired
options
options
MessageCommandParser.Options
MessageCommandParser.Options
Yes
separatorRegex(): RegExp
separatorRegex(): RegExp

Returns:

RegExp
RegExp

rawWithoutPrefix(): string
rawWithoutPrefix(): string

Returns:

string
string

get source

.name()

name(): string
name(): string

Returns:

string
string

rawArgs(): string
rawArgs(): string

Returns:

string
string

parse(command: MessageCommand): this
parse(command: MessageCommand): this
ParamTypeRequired
command
command
MessageCommand
MessageCommand
Yes

Returns:

this
this

MessageCommandParser.Options
MessageCommandParser.Options
string
string
string
string
string
string
string[]
string[]
MessageCommandParser.FlagData[]
MessageCommandParser.FlagData[]