diff --git a/deno/payloads/v10/guild.ts b/deno/payloads/v10/guild.ts index 62ca6d421..05658e3b2 100644 --- a/deno/payloads/v10/guild.ts +++ b/deno/payloads/v10/guild.ts @@ -120,7 +120,7 @@ export interface APIGuild extends APIPartialGuild { /** * afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600` */ - afk_timeout: number; + afk_timeout: 60 | 300 | 900 | 1800 | 3600; /** * `true` if the guild widget is enabled */ diff --git a/deno/payloads/v9/guild.ts b/deno/payloads/v9/guild.ts index 62ca6d421..05658e3b2 100644 --- a/deno/payloads/v9/guild.ts +++ b/deno/payloads/v9/guild.ts @@ -120,7 +120,7 @@ export interface APIGuild extends APIPartialGuild { /** * afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600` */ - afk_timeout: number; + afk_timeout: 60 | 300 | 900 | 1800 | 3600; /** * `true` if the guild widget is enabled */ diff --git a/deno/rest/v10/guild.ts b/deno/rest/v10/guild.ts index b3bf8b80f..195b5a9a5 100644 --- a/deno/rest/v10/guild.ts +++ b/deno/rest/v10/guild.ts @@ -140,7 +140,7 @@ export type RESTPostAPIGuildsJSONBody = AddUndefinedToPossiblyUndefinedPropertie /** * afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600` */ - afk_timeout?: number; + afk_timeout?: 60 | 300 | 900 | 1800 | 3600; /** * The id of the channel where guild notices such as welcome messages and boost events are posted */ @@ -240,7 +240,7 @@ export type RESTPatchAPIGuildJSONBody = AddUndefinedToPossiblyUndefinedPropertie /** * afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600` */ - afk_timeout?: number; + afk_timeout?: 60 | 300 | 900 | 1800 | 3600; /** * base64 1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when the guild has `ANIMATED_ICON` feature) * diff --git a/deno/rest/v9/guild.ts b/deno/rest/v9/guild.ts index 72b4bd331..42bdea94c 100644 --- a/deno/rest/v9/guild.ts +++ b/deno/rest/v9/guild.ts @@ -140,7 +140,7 @@ export type RESTPostAPIGuildsJSONBody = AddUndefinedToPossiblyUndefinedPropertie /** * afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600` */ - afk_timeout?: number; + afk_timeout?: 60 | 300 | 900 | 1800 | 3600; /** * The id of the channel where guild notices such as welcome messages and boost events are posted */ @@ -240,7 +240,7 @@ export type RESTPatchAPIGuildJSONBody = AddUndefinedToPossiblyUndefinedPropertie /** * afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600` */ - afk_timeout?: number; + afk_timeout?: 60 | 300 | 900 | 1800 | 3600; /** * base64 1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when the guild has `ANIMATED_ICON` feature) * diff --git a/payloads/v10/guild.ts b/payloads/v10/guild.ts index 6297dba58..8797e1d99 100644 --- a/payloads/v10/guild.ts +++ b/payloads/v10/guild.ts @@ -120,7 +120,7 @@ export interface APIGuild extends APIPartialGuild { /** * afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600` */ - afk_timeout: number; + afk_timeout: 60 | 300 | 900 | 1800 | 3600; /** * `true` if the guild widget is enabled */ diff --git a/payloads/v9/guild.ts b/payloads/v9/guild.ts index 6297dba58..8797e1d99 100644 --- a/payloads/v9/guild.ts +++ b/payloads/v9/guild.ts @@ -120,7 +120,7 @@ export interface APIGuild extends APIPartialGuild { /** * afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600` */ - afk_timeout: number; + afk_timeout: 60 | 300 | 900 | 1800 | 3600; /** * `true` if the guild widget is enabled */ diff --git a/rest/v10/guild.ts b/rest/v10/guild.ts index cf38e9be3..0af0d1d1a 100644 --- a/rest/v10/guild.ts +++ b/rest/v10/guild.ts @@ -140,7 +140,7 @@ export type RESTPostAPIGuildsJSONBody = AddUndefinedToPossiblyUndefinedPropertie /** * afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600` */ - afk_timeout?: number; + afk_timeout?: 60 | 300 | 900 | 1800 | 3600; /** * The id of the channel where guild notices such as welcome messages and boost events are posted */ @@ -240,7 +240,7 @@ export type RESTPatchAPIGuildJSONBody = AddUndefinedToPossiblyUndefinedPropertie /** * afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600` */ - afk_timeout?: number; + afk_timeout?: 60 | 300 | 900 | 1800 | 3600; /** * base64 1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when the guild has `ANIMATED_ICON` feature) * diff --git a/rest/v9/guild.ts b/rest/v9/guild.ts index 9ebb69edf..8243c855a 100644 --- a/rest/v9/guild.ts +++ b/rest/v9/guild.ts @@ -140,7 +140,7 @@ export type RESTPostAPIGuildsJSONBody = AddUndefinedToPossiblyUndefinedPropertie /** * afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600` */ - afk_timeout?: number; + afk_timeout?: 60 | 300 | 900 | 1800 | 3600; /** * The id of the channel where guild notices such as welcome messages and boost events are posted */ @@ -240,7 +240,7 @@ export type RESTPatchAPIGuildJSONBody = AddUndefinedToPossiblyUndefinedPropertie /** * afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600` */ - afk_timeout?: number; + afk_timeout?: 60 | 300 | 900 | 1800 | 3600; /** * base64 1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when the guild has `ANIMATED_ICON` feature) *