Skip to content

Documentation / @imvu/bot / parseCommand

Function: parseCommand() ​

ts
function parseCommand(text, prefix): ParsedCommand | null;

Defined in: packages/bot/src/parse.ts:11

Parse !name arg "two words", or return null when text is not a command.

Parameters ​

ParameterType
textstring
prefixstring

Returns ​

ParsedCommand | null

Released under the MIT License.