Latest
function followAnnouncementChannel
import { followAnnouncementChannel } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.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 {@link FollowedChannel}.