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