Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function editFollowupMessage
import { editFollowupMessage } from "https://deno.land/x/discordeno@18.0.1/template/beginner/deps.ts";

Edits a follow-up message 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.
messageId: BigString
  • The ID of the message to edit.
options: InteractionCallbackData
  • The parameters for the edit of the message.

Returns

Promise<Message>

An instance of the edited Message.