Skip to main content
Module

x/wackford/discordeno.ts>followAnnouncementChannel

The wackiest Discord bot framework for Deno powered by Discordeno
Go to Latest
function followAnnouncementChannel
import { followAnnouncementChannel } from "https://deno.land/x/wackford@v0.0.4/discordeno.ts";

Follows an announcement channel, allowing messages posted within it to be cross-posted into the target channel.

Parameters

bot: Bot
  • The bot instance to use to make the request.
sourceChannelId: BigString
  • The ID of the announcement channel to follow.
targetChannelId: BigString
  • The ID of the target channel - the channel to cross-post to.

Returns

Promise<bigint>

An instance of FollowedChannel.