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

x/oasis/packages/deps.ts>deleteMessage

An object oriented Discordeno framework
Latest
function deleteMessage
import { deleteMessage } from "https://deno.land/x/oasis@2.1.0/packages/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]