export class InteractionResponse<Cached extends boolean = boolean>Represents an interaction's response
client : Client
readonlycreatedAt : Date
The time the interaction response was created at
readonlycreatedTimestamp : number
The timestamp the interaction response was created at
id : Snowflake
The id of the original interaction response
interaction : Interaction<WrapBooleanCache<Cached>>
The interaction associated with the interaction response
awaitMessageComponent<ComponentType 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.
createMessageComponentCollector<ComponentType extends MessageComponentType
>(options?: MessageCollectorOptionsParams<ComponentType, Cached> = {}) : InteractionCollector<MappedInteractionTypes<Cached>[ComponentType]>
ComponentType extends MessageComponentType
options?: MessageCollectorOptionsParams<ComponentType, Cached> = {}
Creates a message component interaction collector
edit(options: string | MessagePayload | WebhookMessageEditOptions) : Promise<Message>
options: string | MessagePayload | WebhookMessageEditOptions
Edits the response.