Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface StartThreadWithMessage
implements WithReason
import { type StartThreadWithMessage } from "https://deno.land/x/discordeno@17.2.0/plugins/cache/deps.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)