Constructor
new RMBPostCommand()
Additionally mandates the region and
text arguments and sets the c argument.
Methods
setRegion(region) → {this}
Define the region on whose RMB the post should be lodged.
Parameters:
| Name | Type | Description |
|---|---|---|
region |
string | Name of the target region |
Returns:
The command, for chaining
- Type
- this
setText(text) → {this}
Set the body text of the post to lodge.
Parameters:
| Name | Type | Description |
|---|---|---|
text |
string | Text to post |
Returns:
The command, for chaining
- Type
- this