Skip to content

Commit

Permalink
feat(APIGuild): document afk timeout values (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateo-tem committed Sep 14, 2022
1 parent f4d3f4d commit 32f5a7b
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion deno/payloads/v10/guild.ts
Expand Up @@ -118,7 +118,7 @@ export interface APIGuild extends APIPartialGuild {
*/
afk_channel_id: Snowflake | null;
/**
* afk timeout in seconds
* afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600`
*/
afk_timeout: number;
/**
Expand Down
2 changes: 1 addition & 1 deletion deno/payloads/v9/guild.ts
Expand Up @@ -118,7 +118,7 @@ export interface APIGuild extends APIPartialGuild {
*/
afk_channel_id: Snowflake | null;
/**
* afk timeout in seconds
* afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600`
*/
afk_timeout: number;
/**
Expand Down
4 changes: 2 additions & 2 deletions deno/rest/v10/guild.ts
Expand Up @@ -135,7 +135,7 @@ export type RESTPostAPIGuildsJSONBody = AddUndefinedToPossiblyUndefinedPropertie
*/
afk_channel_id?: number | Snowflake | null;
/**
* AFK timeout in seconds
* afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600`
*/
afk_timeout?: number;
/**
Expand Down Expand Up @@ -235,7 +235,7 @@ export type RESTPatchAPIGuildJSONBody = AddUndefinedToPossiblyUndefinedPropertie
*/
afk_channel_id?: Snowflake | null;
/**
* AFK timeout in seconds
* afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600`
*/
afk_timeout?: number;
/**
Expand Down
4 changes: 2 additions & 2 deletions deno/rest/v9/guild.ts
Expand Up @@ -135,7 +135,7 @@ export type RESTPostAPIGuildsJSONBody = AddUndefinedToPossiblyUndefinedPropertie
*/
afk_channel_id?: number | Snowflake | null;
/**
* AFK timeout in seconds
* afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600`
*/
afk_timeout?: number;
/**
Expand Down Expand Up @@ -235,7 +235,7 @@ export type RESTPatchAPIGuildJSONBody = AddUndefinedToPossiblyUndefinedPropertie
*/
afk_channel_id?: Snowflake | null;
/**
* AFK timeout in seconds
* afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600`
*/
afk_timeout?: number;
/**
Expand Down
2 changes: 1 addition & 1 deletion payloads/v10/guild.ts
Expand Up @@ -118,7 +118,7 @@ export interface APIGuild extends APIPartialGuild {
*/
afk_channel_id: Snowflake | null;
/**
* afk timeout in seconds
* afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600`
*/
afk_timeout: number;
/**
Expand Down
2 changes: 1 addition & 1 deletion payloads/v9/guild.ts
Expand Up @@ -118,7 +118,7 @@ export interface APIGuild extends APIPartialGuild {
*/
afk_channel_id: Snowflake | null;
/**
* afk timeout in seconds
* afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600`
*/
afk_timeout: number;
/**
Expand Down
4 changes: 2 additions & 2 deletions rest/v10/guild.ts
Expand Up @@ -135,7 +135,7 @@ export type RESTPostAPIGuildsJSONBody = AddUndefinedToPossiblyUndefinedPropertie
*/
afk_channel_id?: number | Snowflake | null;
/**
* AFK timeout in seconds
* afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600`
*/
afk_timeout?: number;
/**
Expand Down Expand Up @@ -235,7 +235,7 @@ export type RESTPatchAPIGuildJSONBody = AddUndefinedToPossiblyUndefinedPropertie
*/
afk_channel_id?: Snowflake | null;
/**
* AFK timeout in seconds
* afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600`
*/
afk_timeout?: number;
/**
Expand Down
4 changes: 2 additions & 2 deletions rest/v9/guild.ts
Expand Up @@ -135,7 +135,7 @@ export type RESTPostAPIGuildsJSONBody = AddUndefinedToPossiblyUndefinedPropertie
*/
afk_channel_id?: number | Snowflake | null;
/**
* AFK timeout in seconds
* afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600`
*/
afk_timeout?: number;
/**
Expand Down Expand Up @@ -235,7 +235,7 @@ export type RESTPatchAPIGuildJSONBody = AddUndefinedToPossiblyUndefinedPropertie
*/
afk_channel_id?: Snowflake | null;
/**
* AFK timeout in seconds
* afk timeout in seconds, can be set to: `60`, `300`, `900`, `1800`, `3600`
*/
afk_timeout?: number;
/**
Expand Down

1 comment on commit 32f5a7b

@vercel
Copy link

@vercel vercel bot commented on 32f5a7b Sep 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.