Type definitions used throughout the program.
Type Definitions
# PickerOption
An option for a list reaction picker prompt.
Properties
Name | Type | Description |
---|---|---|
name |
String | name of this option |
description |
String | description for this option |
emojiName |
String | the name of the emoji (only unicode emojis allowed!) |
# PromptInfo
Common data for all prompts.
Properties
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
prompt |
String | the text prompt to send to user | ||
channel |
TextChannel | DMChannel | the channel to send the prompt to | ||
userId |
String | the ID of the user to prompt | ||
time |
Number |
<optional> |
Infinity | the time in seconds to wait for the response, if 0 then wait forever |
cancelable |
Boolean |
<optional> |
false | if the prompt can be canceled |