diff --git a/deno/payloads/v10/guild.ts b/deno/payloads/v10/guild.ts index 3f223447..06072c1b 100644 --- a/deno/payloads/v10/guild.ts +++ b/deno/payloads/v10/guild.ts @@ -445,6 +445,10 @@ export enum GuildSystemChannelFlags { * https://discord.com/developers/docs/resources/guild#guild-object-guild-features */ export enum GuildFeature { + /** + * Guild has access to set an animated guild banner image + */ + AnimatedBanner = 'ANIMATED_BANNER', /** * Guild has access to set an animated guild icon */ diff --git a/deno/payloads/v8/guild.ts b/deno/payloads/v8/guild.ts index 9f0c265e..baea8372 100644 --- a/deno/payloads/v8/guild.ts +++ b/deno/payloads/v8/guild.ts @@ -448,6 +448,10 @@ export enum GuildSystemChannelFlags { * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. */ export enum GuildFeature { + /** + * Guild has access to set an animated guild banner image + */ + AnimatedBanner = 'ANIMATED_BANNER', /** * Guild has access to set an animated guild icon */ diff --git a/deno/payloads/v9/guild.ts b/deno/payloads/v9/guild.ts index 3f223447..06072c1b 100644 --- a/deno/payloads/v9/guild.ts +++ b/deno/payloads/v9/guild.ts @@ -445,6 +445,10 @@ export enum GuildSystemChannelFlags { * https://discord.com/developers/docs/resources/guild#guild-object-guild-features */ export enum GuildFeature { + /** + * Guild has access to set an animated guild banner image + */ + AnimatedBanner = 'ANIMATED_BANNER', /** * Guild has access to set an animated guild icon */ diff --git a/deno/rest/v10/guild.ts b/deno/rest/v10/guild.ts index 60d4f6a3..1087f6da 100644 --- a/deno/rest/v10/guild.ts +++ b/deno/rest/v10/guild.ts @@ -230,7 +230,7 @@ export type RESTPatchAPIGuildJSONBody = AddUndefinedToPossiblyUndefinedPropertie */ discovery_splash?: string | null; /** - * base64 16:9 png/jpeg image for the guild banner (when the guild has `BANNER` feature) + * base64 16:9 png/jpeg image for the guild banner (when the server has the `BANNER` feature; can be animated gif when the server has the `ANIMATED_BANNER` feature) */ banner?: string | null; /** diff --git a/deno/rest/v8/guild.ts b/deno/rest/v8/guild.ts index 20eac864..81b54597 100644 --- a/deno/rest/v8/guild.ts +++ b/deno/rest/v8/guild.ts @@ -248,7 +248,7 @@ export type RESTPatchAPIGuildJSONBody = AddUndefinedToPossiblyUndefinedPropertie */ discovery_splash?: string | null; /** - * base64 16:9 png/jpeg image for the guild banner (when the guild has `BANNER` feature) + * base64 16:9 png/jpeg image for the guild banner (when the server has the `BANNER` feature; can be animated gif when the server has the `ANIMATED_BANNER` feature) */ banner?: string | null; /** diff --git a/deno/rest/v9/guild.ts b/deno/rest/v9/guild.ts index 566ca74f..89b6706e 100644 --- a/deno/rest/v9/guild.ts +++ b/deno/rest/v9/guild.ts @@ -230,7 +230,7 @@ export type RESTPatchAPIGuildJSONBody = AddUndefinedToPossiblyUndefinedPropertie */ discovery_splash?: string | null; /** - * base64 16:9 png/jpeg image for the guild banner (when the guild has `BANNER` feature) + * base64 16:9 png/jpeg image for the guild banner (when the server has the `BANNER` feature; can be animated gif when the server has the `ANIMATED_BANNER` feature) */ banner?: string | null; /** diff --git a/payloads/v10/guild.ts b/payloads/v10/guild.ts index 5f3414e2..10ac6bdb 100644 --- a/payloads/v10/guild.ts +++ b/payloads/v10/guild.ts @@ -445,6 +445,10 @@ export enum GuildSystemChannelFlags { * https://discord.com/developers/docs/resources/guild#guild-object-guild-features */ export enum GuildFeature { + /** + * Guild has access to set an animated guild banner image + */ + AnimatedBanner = 'ANIMATED_BANNER', /** * Guild has access to set an animated guild icon */ diff --git a/payloads/v8/guild.ts b/payloads/v8/guild.ts index ec2ec4ac..4005e733 100644 --- a/payloads/v8/guild.ts +++ b/payloads/v8/guild.ts @@ -448,6 +448,10 @@ export enum GuildSystemChannelFlags { * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. */ export enum GuildFeature { + /** + * Guild has access to set an animated guild banner image + */ + AnimatedBanner = 'ANIMATED_BANNER', /** * Guild has access to set an animated guild icon */ diff --git a/payloads/v9/guild.ts b/payloads/v9/guild.ts index 5f3414e2..10ac6bdb 100644 --- a/payloads/v9/guild.ts +++ b/payloads/v9/guild.ts @@ -445,6 +445,10 @@ export enum GuildSystemChannelFlags { * https://discord.com/developers/docs/resources/guild#guild-object-guild-features */ export enum GuildFeature { + /** + * Guild has access to set an animated guild banner image + */ + AnimatedBanner = 'ANIMATED_BANNER', /** * Guild has access to set an animated guild icon */ diff --git a/rest/v10/guild.ts b/rest/v10/guild.ts index 3b965d5a..d22a0622 100644 --- a/rest/v10/guild.ts +++ b/rest/v10/guild.ts @@ -230,7 +230,7 @@ export type RESTPatchAPIGuildJSONBody = AddUndefinedToPossiblyUndefinedPropertie */ discovery_splash?: string | null; /** - * base64 16:9 png/jpeg image for the guild banner (when the guild has `BANNER` feature) + * base64 16:9 png/jpeg image for the guild banner (when the server has the `BANNER` feature; can be animated gif when the server has the `ANIMATED_BANNER` feature) */ banner?: string | null; /** diff --git a/rest/v8/guild.ts b/rest/v8/guild.ts index 08c79e77..6af2eebe 100644 --- a/rest/v8/guild.ts +++ b/rest/v8/guild.ts @@ -248,7 +248,7 @@ export type RESTPatchAPIGuildJSONBody = AddUndefinedToPossiblyUndefinedPropertie */ discovery_splash?: string | null; /** - * base64 16:9 png/jpeg image for the guild banner (when the guild has `BANNER` feature) + * base64 16:9 png/jpeg image for the guild banner (when the server has the `BANNER` feature; can be animated gif when the server has the `ANIMATED_BANNER` feature) */ banner?: string | null; /** diff --git a/rest/v9/guild.ts b/rest/v9/guild.ts index ccb08810..37740c9d 100644 --- a/rest/v9/guild.ts +++ b/rest/v9/guild.ts @@ -230,7 +230,7 @@ export type RESTPatchAPIGuildJSONBody = AddUndefinedToPossiblyUndefinedPropertie */ discovery_splash?: string | null; /** - * base64 16:9 png/jpeg image for the guild banner (when the guild has `BANNER` feature) + * base64 16:9 png/jpeg image for the guild banner (when the server has the `BANNER` feature; can be animated gif when the server has the `ANIMATED_BANNER` feature) */ banner?: string | null; /**