Mirai is used by sending chat messages in Discord with a certain format. All command for Mirai start with the prefix m.. For example, to generate a random number you would do m.random, which would then return a number from 1 to 10. For a full list of commands go to the commands list.
An argument displayed as [name] is optional, and one displayed as <name> is required.
Another way of passing arguments to a command is through named arguments. This is done in the format of --name value or -n value