Skip to main content
Module

x/discordeno/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/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]