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()
rawWithoutPrefix()
get source

.name()

name()
name()
rawArgs()
rawArgs()
public source

.parse(...)

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

Returns:

this
this

public source

.raw

string
string
string
string
string
string
public source

.args

string[]
string[]
public source

.flags

MessageCommandParser.FlagData[]
MessageCommandParser.FlagData[]