Skip to main content
Module

x/wackford/discordeno.ts>editWebhookMessage

The wackiest Discord bot framework for Deno powered by Discordeno
Go to Latest
function editWebhookMessage
import { editWebhookMessage } from "https://deno.land/x/wackford@v0.0.4/discordeno.ts";

Edits a webhook message.

Parameters

bot: Bot
  • The bot instance to use to make the request.
webhookId: BigString
  • The ID of the webhook to edit the message of.
token: string
  • The webhook token, used to edit the message.
messageId: BigString
  • The ID of the message to edit.
options: InteractionCallbackData & { threadId?: BigString; }
  • The parameters for the edit of the message.

Returns

Promise<Message>

An instance of the edited Message.