Represents an interaction's response
Collects a single component interaction that passes the filter. The Promise will reject if the time expires.
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
ComponentType | MessageComponentType | No | None |
Name | Type | Optional | Description |
---|---|---|---|
options | AwaitMessageCollectorOptionsParams<ComponentType, Cached> | Yes | Options to pass to the internal collector |
createMessageComponentCollector(options?):InteractionCollector<MappedInteractionTypes<Cached>[ComponentType]>
Creates a message component interaction collector
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
ComponentType | MessageComponentType | No | None |
Name | Type | Optional | Description |
---|---|---|---|
options | MessageCollectorOptionsParams<ComponentType, Cached> | Yes | Options to send to the collector |
Deletes the response.
Edits the response.
Name | Type | Optional | Description |
---|---|---|---|
options | string | MessagePayload | WebhookMessageEditOptions | No | The new options for the response. |
Fetches the response as a Message object.