diff --git a/index.d.ts b/index.d.ts index 31f649c9e..4022c8880 100644 --- a/index.d.ts +++ b/index.d.ts @@ -46,6 +46,7 @@ declare namespace Eris { // Guild type DefaultNotifications = 0 | 1; type ExplicitContentFilter = 0 | 1 | 2; + type GuildFeatures = "ANIMATED_ICON" | "BANNER" | "COMMERCE" | "COMMUNITY" | "DISCOVERABLE" | "FEATURABLE" | "INVITE_SPLASH" | "MEMBER_VERIFICATION_GATE_ENABLED" | "NEWS" | "PARTNERED" | "PREVIEW_ENABLED" | "VANITY_URL" | "VERIFIED" | "VIP_REGIONS" | "WELCOME_SCREEN_ENABLED" | "TICKETED_EVENTS_ENABLED" | "MONETIZATION_ENABLED" | "MORE_STICKERS" | "THREE_DAY_THREAD_ARCHIVE" | "SEVEN_DAY_THREAD_ARCHIVE" | "PRIVATE_THREADS"; type NSFWLevel = 0 | 1 | 2 | 3; type PossiblyUncachedGuild = Guild | Uncached; type PremiumTier = 0 | 1 | 2 | 3; @@ -410,7 +411,7 @@ declare namespace Eris { discoverySplash: string | null; emojis: Omit[]; explicitContentFilter: ExplicitContentFilter; - features: string[]; + features: GuildFeatures[]; icon: string | null; large: boolean; maxMembers?: number; @@ -696,7 +697,7 @@ declare namespace Eris { description?: string; discoverySplash?: string; explicitContentFilter?: ExplicitContentFilter; - features?: string[]; + features?: GuildFeatures[]; // Though only some are editable? icon?: string; name?: string; ownerID?: string; @@ -1977,7 +1978,7 @@ declare namespace Eris { emojiCount?: number; emojis: Emoji[]; explicitContentFilter: ExplicitContentFilter; - features: string[]; + features: GuildFeatures[]; icon: string | null; iconURL: string | null; id: string; @@ -2180,7 +2181,7 @@ declare namespace Eris { discoverySplash: string | null; discoverySplashURL: string | null; emojis: Emoji[]; - features: string[]; + features: GuildFeatures[]; icon: string | null; iconURL: string | null; id: string;