Skip to main content
Module

x/oasis/mod.ts>deleteMessages

An object oriented Discordeno framework
Latest
function deleteMessages
import { deleteMessages } from "https://deno.land/x/oasis@2.1.0/mod.ts";

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

Parameters

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