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

x/natico/examples/deps.ts>followChannel

A powerful and customizable framework for Discordeno
Latest
function followChannel
import { followChannel } from "https://deno.land/x/natico@4.0.0-pre.4/examples/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