Skip to main content
Module

x/oasis/deps.ts>followChannel

An object oriented Discordeno framework
Latest
function followChannel
import { followChannel } from "https://deno.land/x/oasis@2.1.0/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