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

Creates a new thread in a forum channel, and sends a message within the created thread.

Parameters

bot: Bot
  • The bot instance to use to make the request.
channelId: BigString
  • The ID of the forum channel to create the thread within.
  • The parameters for the creation of the thread.

Returns

Promise<Channel>

An instance of Channel with a nested Message object.