diff --git a/deno/gateway/v10.ts b/deno/gateway/v10.ts index 07c60fb1..54247ca2 100644 --- a/deno/gateway/v10.ts +++ b/deno/gateway/v10.ts @@ -859,7 +859,14 @@ export type GatewayGuildDeleteDispatch = DataPayload { + /** + * `true` if this guild is unavailable due to an outage + * + * If the field is not set, the user was removed from the guild. + */ + unavailable?: true; +} /** * https://discord.com/developers/docs/topics/gateway-events#guild-ban-add diff --git a/deno/gateway/v9.ts b/deno/gateway/v9.ts index d8892769..ece65f93 100644 --- a/deno/gateway/v9.ts +++ b/deno/gateway/v9.ts @@ -858,7 +858,14 @@ export type GatewayGuildDeleteDispatch = DataPayload { + /** + * `true` if this guild is unavailable due to an outage + * + * If the field is not set, the user was removed from the guild. + */ + unavailable?: true; +} /** * https://discord.com/developers/docs/topics/gateway-events#guild-ban-add diff --git a/gateway/v10.ts b/gateway/v10.ts index 130775d6..b4bda37e 100644 --- a/gateway/v10.ts +++ b/gateway/v10.ts @@ -859,7 +859,14 @@ export type GatewayGuildDeleteDispatch = DataPayload { + /** + * `true` if this guild is unavailable due to an outage + * + * If the field is not set, the user was removed from the guild. + */ + unavailable?: true; +} /** * https://discord.com/developers/docs/topics/gateway-events#guild-ban-add diff --git a/gateway/v9.ts b/gateway/v9.ts index b276157f..70e8cbc9 100644 --- a/gateway/v9.ts +++ b/gateway/v9.ts @@ -858,7 +858,14 @@ export type GatewayGuildDeleteDispatch = DataPayload { + /** + * `true` if this guild is unavailable due to an outage + * + * If the field is not set, the user was removed from the guild. + */ + unavailable?: true; +} /** * https://discord.com/developers/docs/topics/gateway-events#guild-ban-add