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

x/natico/examples/deps.ts>deleteMessage

A powerful and customizable framework for Discordeno
Latest
function deleteMessage
import { deleteMessage } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.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]