Constructor
new IssueCommand()
Additionally mandates the issue and
option arguments and sets the c argument.
Methods
(async) send() → {Promise.<types.IssueEffect>}
Returns:
- Type
- Promise.<types.IssueEffect>
setIssue(issue) → {this}
Define the issue to answer via this command.
Parameters:
| Name | Type | Description |
|---|---|---|
issue |
number | ID of the issue to address |
Returns:
The command, for chaining
- Type
- this
setOption(option) → {this}
Set the option that will be chosen on the issue.
Parameters:
| Name | Type | Description |
|---|---|---|
option |
number | ID of the option to choose; |
Returns:
The command, for chaining
- Type
- this