Skip to main content
Module

x/coward/mod.ts>Coward#putPin

🐔 Coward is a Deno module for easy interaction with the Discord API.
Go to Latest
method Coward.prototype.putPin
import { Coward } from "https://deno.land/x/coward@v0.1.0/mod.ts";

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

Parameters

channelID: string
messageID: string

Returns

Promise<void>