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

x/natico/examples/deps.ts>deleteMessages

A powerful and customizable framework for Discordeno
Latest
function deleteMessages
import { deleteMessages } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Delete messages from the channel. 2-100. Requires the MANAGE_MESSAGES permission

Parameters

bot: Bot
channelId: bigint
ids: bigint[]
optional
reason: string