Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function editOriginalInteractionResponse
import { editOriginalInteractionResponse } from "https://deno.land/x/discordeno@17.2.0/plugins/cache/deps.ts";

Edits the initial message response to an interaction.

Parameters

bot: Bot
  • The bot instance to use to make the request.
token: string
  • The interaction token to use, provided in the original interaction.
  • The parameters for the edit of the response.

Returns

Promise<Message | undefined>

An instance of the edited Message.