Returns the user's message (without the command trigger).


There are two usages of the the $message function.

Usage #1


Returns the user's message.

Usage #2


Returns the argument matching the provided number.

  • For example, $message[1] would just return the first word of the message.
  • You can also use $message[>] to get the last argument/word of the user's message.


Find info about optimizing $message[] for slash commands here.