Skip to main content
Module

x/discordeno/plugins/mod.ts>ModifyThread

Discord API library for Deno
Latest
interface ModifyThread
Re-export
import { type ModifyThread } from "https://deno.land/x/discordeno@18.0.1/plugins/mod.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