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

Properties

name: string

1-100 character thread name

autoArchiveDuration:
| 60
| 1440
| 4320
| 10080

Duration in minutes to automatically archive the thread after recent activity

optional
rateLimitPerUser: number | null

Amount of seconds a user has to wait before sending another message (0-21600)

type: ChannelTypes.AnnouncementThread | ChannelTypes.PublicThread | ChannelTypes.PrivateThread

the type of thread to create

optional
invitable: boolean

whether non-moderators can add other non-moderators to a thread; only available when creating a private thread