[This is preliminary documentation and is subject to change.]
The CommandReader type exposes the following properties.
Properties
| Member | Description | |
|---|---|---|
| Count | Counts the total number of arguments.
Does not modify the offset. | |
| CountRemaining | Counts the number of arguments left in this command.
Does not modify the offset. | |
| Descriptor | Command descriptor associated with this command.
May be null of command was not recognized by name. | |
| HasInt | Checks whether there there is an int argument available.
Does not modify the offset. | |
| HasNext | Checks whether there is another argument available.
Does not modify the offset. | |
| IsConfirmed | Whether this command has been confirmed by the user (with /ok) | |
| Name | Name (lowercase) of the command. | |
| Offset | Gets or sets current offset, in characters, from the beginning of the raw message. |