From 8465c5866c8caedd3d237f4bd2d4cf68a3a9c635 Mon Sep 17 00:00:00 2001 From: Vitor Date: Sat, 16 Jul 2022 12:53:47 +0100 Subject: [PATCH] refactor(GuildFeature): remove `Commerce` (#523) * refactor(GuildFeature): remove `Commerce` * docs: add `@unstable` tag to `Hub` & `LinkedToHub` --- deno/payloads/v10/guild.ts | 8 ++++---- deno/payloads/v9/guild.ts | 8 ++++---- payloads/v10/guild.ts | 8 ++++---- payloads/v9/guild.ts | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/deno/payloads/v10/guild.ts b/deno/payloads/v10/guild.ts index 51c96c6a2..5c62cd1a0 100644 --- a/deno/payloads/v10/guild.ts +++ b/deno/payloads/v10/guild.ts @@ -385,10 +385,6 @@ export enum GuildFeature { * Guild has access to set a guild banner image */ Banner = 'BANNER', - /** - * Guild has access to use commerce features (i.e. create store channels) - */ - Commerce = 'COMMERCE', /** * Guild can enable welcome screen, Membership Screening and discovery, and receives community updates */ @@ -409,6 +405,8 @@ export enum GuildFeature { * Guild is a Student Hub * * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * + * @unstable This feature is currently not documented by Discord, but has known value */ Hub = 'HUB', /** @@ -419,6 +417,8 @@ export enum GuildFeature { * Guild is in a Student Hub * * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * + * @unstable This feature is currently not documented by Discord, but has known value */ LinkedToHub = 'LINKED_TO_HUB', /** diff --git a/deno/payloads/v9/guild.ts b/deno/payloads/v9/guild.ts index 51c96c6a2..5c62cd1a0 100644 --- a/deno/payloads/v9/guild.ts +++ b/deno/payloads/v9/guild.ts @@ -385,10 +385,6 @@ export enum GuildFeature { * Guild has access to set a guild banner image */ Banner = 'BANNER', - /** - * Guild has access to use commerce features (i.e. create store channels) - */ - Commerce = 'COMMERCE', /** * Guild can enable welcome screen, Membership Screening and discovery, and receives community updates */ @@ -409,6 +405,8 @@ export enum GuildFeature { * Guild is a Student Hub * * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * + * @unstable This feature is currently not documented by Discord, but has known value */ Hub = 'HUB', /** @@ -419,6 +417,8 @@ export enum GuildFeature { * Guild is in a Student Hub * * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * + * @unstable This feature is currently not documented by Discord, but has known value */ LinkedToHub = 'LINKED_TO_HUB', /** diff --git a/payloads/v10/guild.ts b/payloads/v10/guild.ts index d8dce2dec..bd9d91d57 100644 --- a/payloads/v10/guild.ts +++ b/payloads/v10/guild.ts @@ -385,10 +385,6 @@ export enum GuildFeature { * Guild has access to set a guild banner image */ Banner = 'BANNER', - /** - * Guild has access to use commerce features (i.e. create store channels) - */ - Commerce = 'COMMERCE', /** * Guild can enable welcome screen, Membership Screening and discovery, and receives community updates */ @@ -409,6 +405,8 @@ export enum GuildFeature { * Guild is a Student Hub * * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * + * @unstable This feature is currently not documented by Discord, but has known value */ Hub = 'HUB', /** @@ -419,6 +417,8 @@ export enum GuildFeature { * Guild is in a Student Hub * * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * + * @unstable This feature is currently not documented by Discord, but has known value */ LinkedToHub = 'LINKED_TO_HUB', /** diff --git a/payloads/v9/guild.ts b/payloads/v9/guild.ts index d8dce2dec..bd9d91d57 100644 --- a/payloads/v9/guild.ts +++ b/payloads/v9/guild.ts @@ -385,10 +385,6 @@ export enum GuildFeature { * Guild has access to set a guild banner image */ Banner = 'BANNER', - /** - * Guild has access to use commerce features (i.e. create store channels) - */ - Commerce = 'COMMERCE', /** * Guild can enable welcome screen, Membership Screening and discovery, and receives community updates */ @@ -409,6 +405,8 @@ export enum GuildFeature { * Guild is a Student Hub * * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * + * @unstable This feature is currently not documented by Discord, but has known value */ Hub = 'HUB', /** @@ -419,6 +417,8 @@ export enum GuildFeature { * Guild is in a Student Hub * * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * + * @unstable This feature is currently not documented by Discord, but has known value */ LinkedToHub = 'LINKED_TO_HUB', /**