swc/bundler/tests/.cache/deno/437832530c2437d88d8ae058fc9b2df20f9360af.ts
강동윤 d60c3242af
fix(swc): Fix bugs (#1739)
swc_bundler:
 - Fix cycle detection for complex circular imports. (denoland/deno#10752)

swc_ecma_transforms_typescript:
 - Allow using large values for an enum variant.
2021-05-25 14:30:17 +09:00

17 lines
748 B
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/channels/threads/modify_thread.ts
// TODO: add docs link
export interface ModifyThread {
/** 2-100 character thread name */
name?: string;
/** Whether the thread is archived */
archived?: boolean;
/** Duration in minutes to automatically archive the thread after recent activity */
autoArchiveDuration?: 60 | 1440 | 4320 | 10080;
/** When a thread is locked, only users with `MANAGE_THREADS` can unarchive it */
locked?: boolean;
/** 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 */
rateLimitPerUser?: number;
}