Skip to main content
Module

x/discordeno/mod.ts>followChannel

Discord API library for Deno
Go to Latest
function followChannel
import { followChannel } from "https://deno.land/x/discordeno@13.0.0-rc45/mod.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