Skip to main content
Latest
function followAnnouncementChannel
import { followAnnouncementChannel } from "https://deno.land/x/discordeno@18.0.1/mod.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.