Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
function followChannel
import { followChannel } from "https://deno.land/x/discordeno_cache_plugin@0.0.21/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