Implements the method responsible for consuming discord bot commands.
The method returns an object containing the command as well as its arguments.
An argument itself is an object mapping the argumentName to an array of argumentValues, in order.
If an arguement is just a flag (it has no values), then it is mapped to undefined.
UPDATED Example:
Returns:
The implementation is a bit messy so I'll need to clean it up.
Implements the method responsible for consuming discord bot commands. The method returns an object containing the
command
as well as itsarguments
. Anargument
itself is an object mapping theargumentName
to an array ofargumentValues
, in order. If an arguement is just a flag (it has no values), then it is mapped to undefined.UPDATED Example:
Returns:
The implementation is a bit messy so I'll need to clean it up.
closes #14