Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/coward/src/Client.ts>Client#deleteMessage

🐔 Coward is a Deno module for easy interaction with the Discord API.
Latest
method Client.prototype.deleteMessage
import { Client } from "https://deno.land/x/coward@v0.3.2/src/Client.ts";

Delete a message in a channel. Requires the MANAGE_MESSAGES permission.

Parameters

channelID: string
messageID: string

Returns

Promise<void>