Skip to content

Commit 59e2477

Browse files
author
Vitor
authored
feat(GatewayGuildCreateDispatchData): add missing unavailable (#504)
1 parent e78de0c commit 59e2477

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

deno/gateway/v10.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,10 @@ export interface GatewayGuildCreateDispatchData extends APIGuild {
533533
* **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**
534534
*/
535535
large: boolean;
536+
/**
537+
* `true` if this guild is unavailable due to an outage
538+
*/
539+
unavailable?: boolean;
536540
/**
537541
* Total number of members in this guild
538542
*

deno/gateway/v9.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,10 @@ export interface GatewayGuildCreateDispatchData extends APIGuild {
532532
* **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**
533533
*/
534534
large: boolean;
535+
/**
536+
* `true` if this guild is unavailable due to an outage
537+
*/
538+
unavailable?: boolean;
535539
/**
536540
* Total number of members in this guild
537541
*

deno/payloads/v10/guild.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ export interface APIPartialGuild extends Omit<APIUnavailableGuild, 'unavailable'
6969
* The vanity url code for the guild
7070
*/
7171
vanity_url_code?: string | null;
72-
/**
73-
* `true` if this guild is unavailable due to an outage
74-
*/
75-
unavailable?: boolean;
7672
}
7773

7874
/**

deno/payloads/v9/guild.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ export interface APIPartialGuild extends Omit<APIUnavailableGuild, 'unavailable'
6969
* The vanity url code for the guild
7070
*/
7171
vanity_url_code?: string | null;
72-
/**
73-
* `true` if this guild is unavailable due to an outage
74-
*/
75-
unavailable?: boolean;
7672
}
7773

7874
/**

gateway/v10.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,10 @@ export interface GatewayGuildCreateDispatchData extends APIGuild {
533533
* **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**
534534
*/
535535
large: boolean;
536+
/**
537+
* `true` if this guild is unavailable due to an outage
538+
*/
539+
unavailable?: boolean;
536540
/**
537541
* Total number of members in this guild
538542
*

gateway/v9.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,10 @@ export interface GatewayGuildCreateDispatchData extends APIGuild {
532532
* **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**
533533
*/
534534
large: boolean;
535+
/**
536+
* `true` if this guild is unavailable due to an outage
537+
*/
538+
unavailable?: boolean;
535539
/**
536540
* Total number of members in this guild
537541
*

payloads/v10/guild.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ export interface APIPartialGuild extends Omit<APIUnavailableGuild, 'unavailable'
6969
* The vanity url code for the guild
7070
*/
7171
vanity_url_code?: string | null;
72-
/**
73-
* `true` if this guild is unavailable due to an outage
74-
*/
75-
unavailable?: boolean;
7672
}
7773

7874
/**

payloads/v9/guild.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ export interface APIPartialGuild extends Omit<APIUnavailableGuild, 'unavailable'
6969
* The vanity url code for the guild
7070
*/
7171
vanity_url_code?: string | null;
72-
/**
73-
* `true` if this guild is unavailable due to an outage
74-
*/
75-
unavailable?: boolean;
7672
}
7773

7874
/**

0 commit comments

Comments
 (0)