Methods
(static) asyncQuestion(options) → {Promise.<Message>}
This method create easier message collector returning Promise
- Source:
Parameters:
| Name | Type | Description | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object
|
|
Returns:
- Type:
-
Promise.<Message>
(static) question(options) → {void}
This method create easier message collector, then collected, will execute your custom function.
- Source:
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object
|
|
Returns:
- Type:
-
void