Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function getPublicArchivedThreads
import { getPublicArchivedThreads } from "https://deno.land/x/discordeno@17.0.1/helpers/channels/mod.ts";

Gets the list of public archived threads for a channel.

Parameters

bot: Bot
  • The bot instance to use to make the request.
channelId: BigString
  • The ID of the channel to get the archived threads for.
optional
options: ListArchivedThreads
  • The parameters for the fetching of threads.

Returns

Promise<ArchivedThreads>

An instance of ArchivedThreads.