File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2631,7 +2631,7 @@ export class Util extends null {
2631
2631
) : Promise < { id : Snowflake ; position : number } [ ] > ;
2632
2632
/** @deprecated This will be removed in the next major version. */
2633
2633
public static splitMessage ( text : string , options ?: SplitOptions ) : string [ ] ;
2634
- public static resolveAutoArchiveMaxLimit ( guild : Guild ) : number ;
2634
+ public static resolveAutoArchiveMaxLimit ( guild : Guild ) : Exclude < ThreadAutoArchiveDuration , 60 > ;
2635
2635
}
2636
2636
2637
2637
export class Formatters extends null {
@@ -5757,7 +5757,7 @@ export type StageInstanceResolvable = StageInstance | Snowflake;
5757
5757
5758
5758
export interface StartThreadOptions {
5759
5759
name : string ;
5760
- autoArchiveDuration ?: ThreadAutoArchiveDuration ;
5760
+ autoArchiveDuration ?: ThreadAutoArchiveDuration | 'MAX' ;
5761
5761
reason ?: string ;
5762
5762
rateLimitPerUser ?: number ;
5763
5763
}
@@ -5903,7 +5903,7 @@ export interface ThreadCreateOptions<AllowedThreadType> extends StartThreadOptio
5903
5903
export interface ThreadEditData {
5904
5904
name ?: string ;
5905
5905
archived ?: boolean ;
5906
- autoArchiveDuration ?: ThreadAutoArchiveDuration ;
5906
+ autoArchiveDuration ?: ThreadAutoArchiveDuration | 'MAX' ;
5907
5907
rateLimitPerUser ?: number ;
5908
5908
locked ?: boolean ;
5909
5909
invitable ?: boolean ;
You can’t perform that action at this time.
0 commit comments