diff --git a/source/_components/matrix.markdown b/source/_components/matrix.markdown index 621fd836cc8..b6e9e9814b9 100644 --- a/source/_components/matrix.markdown +++ b/source/_components/matrix.markdown @@ -79,7 +79,7 @@ commands: ### {% linkable_title Event Data %} -If a command is triggered, a `matrix_command` event is fired. The event contains the name of the command in the `name` field. If the command is a word command that has no name set, the `name` field contains the word instead. +If a command is triggered, a `matrix_command` event is fired. The event contains the name of the command in the `name` field. If the command is a word command, the `data` field contains a list of the command's arguments, i.e., everything that stood behind the word, split at spaces. If the command is an expression command, the `data` field contains the [group dictionary](https://docs.python.org/3.6/library/re.html?highlight=re#re.match.groupdict) of the regular expression that matched the message.