Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function followChannel
import { followChannel } from "https://deno.land/x/discordeno@13.0.0-rc45/helpers/channels/followChannel.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