Extracts the prefix for a command, and the remaining arguments given a message.
Extracts the prefix for a command, and the remaining arguments given a message.
The arguments for the command. The first argument is the prefix.
The message object that sent the command.
Some if a given prefix is valid, otherwise None. The first
string in the tuple is the prefix, while the Seq[String]
is
the remaining arguments.
Checks if a given message needs a mention at the start.
An object to control how messages are parsed into command objects.