Merge pull request #1790 from discordeno/for-1788

feat(types): add rateLimitPerUser to StartThreadBase
This commit is contained in:
ITOH
2021-11-16 18:48:18 +00:00
committed by GitHub

View File

@@ -6,6 +6,8 @@ export interface StartThreadBase {
name: string;
/** Duration in minutes to automatically archive the thread after recent activity */
autoArchiveDuration: 60 | 1440 | 4320 | 10080;
/** Amount of seconds a user has to wait before sending another message (0-21600) */
rateLimitPerUser?: number | null;
/** The reason you are creating the thread */
reason?: string;
}