Readonly
clientThe component interaction object.
Gets the channel of the interaction.
Optional
mode: "rest" | "flow"The mode to fetch the channel.
A promise that resolves to the channel.
Gets the channel of the interaction.
The mode to fetch the channel.
A promise that resolves to the channel.
Defers the reply to the interaction.
Whether the reply should be ephemeral or not.
Optional
fetchReply: FRACK an interaction and edit the original message later; the user does not see a loading state
Deletes the response of the interaction.
A promise that resolves when the response is deleted.
Edits the response or replies to the interaction.
The body of the response or updated body of the interaction.
Optional
fetchReply: FRWhether to fetch the reply or not.
Edits the response of the interaction.
The updated body of the response.
A Promise that resolves to the fetched message
Optional
mode: "rest" | "flow"Optional
mode: "rest" | "flow"Optional
options: undefinedUpdates the interaction with new data.
The updated body of the interaction.
Writes a response to the interaction.
The body of the response.
Optional
fetchReply: FRWhether to fetch the reply or not.
The UsingClient instance.