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

Creates a thread without using a message as the thread's point of origin.

Parameters

bot: Bot
  • The bot instance to use to make the request.
channelId: BigString
  • The ID of the channel in which to create the thread.
options: StartThreadWithoutMessage
  • The parameters to use for the creation of the thread.

Returns

Promise<Channel>

An instance of the created Channel | Thread.