Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>ModifyThread

A powerful and customizable framework for Discordeno
Latest
interface ModifyThread
import { type ModifyThread } from "https://deno.land/x/natico@4.0.0-pre.4/examples/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