export class InteractionResponse<Cached extends boolean = boolean>
Represents an interaction's response
Client client :
readonlyDate createdAt :
The time the interaction response was created at
readonlynumber createdTimestamp :
The timestamp the interaction response was created at
Snowflake id :
The id of the original interaction response
Interaction<WrapBooleanCache<Cached>> interaction :
The interaction associated with the interaction response
awaitMessageComponentComponentType extends MessageComponentType
>(options?: AwaitMessageCollectorOptionsParams<ComponentType, Cached> = {}) : Promise<MappedInteractionTypes<Cached>[ComponentType]> <
ComponentType extends MessageComponentType
options?: AwaitMessageCollectorOptionsParams<ComponentType, Cached> = {}
Collects a single component interaction that passes the filter. The Promise will reject if the time expires.
createMessageComponentCollectorComponentType extends MessageComponentType
>(options?: MessageCollectorOptionsParams<ComponentType, Cached> = {}) : InteractionCollector<MappedInteractionTypes<Cached>[ComponentType]> <
ComponentType extends MessageComponentType
options?: MessageCollectorOptionsParams<ComponentType, Cached> = {}
Creates a message component interaction collector
editoptions: string | MessagePayload | WebhookMessageEditOptions) : Promise<Message> (
options: string | MessagePayload | WebhookMessageEditOptions
Edits the response.