mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-06-01 08:20:10 +00:00
feat(GuildFeatures): add animated banners (#219)
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
/**
|
||||
|
||||
@@ -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;
|
||||
/**
|
||||
|
||||
@@ -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;
|
||||
/**
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
/**
|
||||
|
||||
@@ -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;
|
||||
/**
|
||||
|
||||
@@ -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;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user