getCommand
getCommand: (CommandExecuted) -> stringThe word after :: ("" when a space follows the colons).
| Method | Returns | Description |
|---|---|---|
getCommand() | string | The word after :: ("" when a space follows the colons). |
getArguments() | {string} | The words after the command, split on single spaces. Lua arrays start at 1. |
| Field | Type | Description |
|---|---|---|
__eventClass | string | "CommandExecuted": the class's name, which host APIs that take the class itself read. |
getCommandgetCommand: (CommandExecuted) -> stringThe word after :: ("" when a space follows the colons).
getArgumentsgetArguments: (CommandExecuted) -> {string}The words after the command, split on single spaces. Lua arrays start at 1.