Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/discordeno/helpers/messages/mod.ts>editMessage

Discord API library for Deno
Extremely Popular
Go to Latest
function editMessage
import { editMessage } from "https://deno.land/x/discordeno@17.2.0/helpers/messages/mod.ts";

Edits a message.

Parameters

bot: Bot
  • The bot instance to use to make the request.
channelId: BigString
  • The ID of the channel to edit the message in.
messageId: BigString
  • The IDs of the message to edit.
options: EditMessage
  • The parameters for the edit of the message.

Returns

Promise<Message>

An instance of the edited Message.