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

x/oasis/packages/deps.ts>followChannel

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

Follow a News Channel to send messages to a target channel. Requires the MANAGE_WEBHOOKS permission in the target channel. Returns the webhook id.

Parameters

bot: Bot
sourceChannelId: bigint
targetChannelId: bigint