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

x/oasis/packages/deps.ts>pinMessage

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

Pin a message in a channel. Requires MANAGE_MESSAGES. Max pins allowed in a channel = 50.

Parameters

bot: Bot
channelId: bigint
messageId: bigint