Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/helpers/mod.ts>deleteMessage

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

Delete a message with the channel id and message id only.

Parameters

bot: Bot
channelId: bigint
messageId: bigint
optional
reason: string
optional
delayMilliseconds = [UNSUPPORTED]