mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 08:50:07 +00:00
fix: thread create autoArchiveDuration being a required param (#4137)
This commit is contained in:
@@ -993,7 +993,7 @@ export interface CreateForumPostWithMessage {
|
||||
/** 1-100 character thread name */
|
||||
name: string
|
||||
/** Duration in minutes to automatically archive the thread after recent activity */
|
||||
autoArchiveDuration: 60 | 1440 | 4320 | 10080
|
||||
autoArchiveDuration?: 60 | 1440 | 4320 | 10080
|
||||
/** Amount of seconds a user has to wait before sending another message (0-21600) */
|
||||
rateLimitPerUser?: number | null
|
||||
/** contents of the first message in the forum/media thread */
|
||||
@@ -1037,7 +1037,7 @@ export interface StartThreadWithMessage {
|
||||
/** 1-100 character thread name */
|
||||
name: string
|
||||
/** Duration in minutes to automatically archive the thread after recent activity */
|
||||
autoArchiveDuration: 60 | 1440 | 4320 | 10080
|
||||
autoArchiveDuration?: 60 | 1440 | 4320 | 10080
|
||||
/** Amount of seconds a user has to wait before sending another message (0-21600) */
|
||||
rateLimitPerUser?: number | null
|
||||
}
|
||||
@@ -1046,7 +1046,7 @@ export interface StartThreadWithoutMessage {
|
||||
/** 1-100 character thread name */
|
||||
name: string
|
||||
/** Duration in minutes to automatically archive the thread after recent activity */
|
||||
autoArchiveDuration: 60 | 1440 | 4320 | 10080
|
||||
autoArchiveDuration?: 60 | 1440 | 4320 | 10080
|
||||
/** Amount of seconds a user has to wait before sending another message (0-21600) */
|
||||
rateLimitPerUser?: number | null
|
||||
/** the type of thread to create */
|
||||
|
||||
Reference in New Issue
Block a user