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

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

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

Post a message in a channel. Requires the SEND_MESSAGES permission.

Parameters

channelID: string
content: string | Options.createMessage