Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface ModifyThread
Re-export
import { type ModifyThread } from "https://deno.land/x/discordeno@17.2.0/template/beginner/deps.ts";

Properties

optional
name: string

1-100 character thread name

optional
archived: boolean

Whether the thread is archived

optional
autoArchiveDuration:
| 60
| 1440
| 4320
| 10080

Duration in minutes to automatically archive the thread after recent activity

optional
locked: boolean

When a thread is locked, only users with MANAGE_THREADS can unarchive it

optional
invitable: boolean

whether non-moderators can add other non-moderators to a thread; only available on private threads

optional
rateLimitPerUser: number

Amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission MANAGE_MESSAGES, MANAGE_THREAD or MANAGE_CHANNEL are unaffected