Skip to content

Commit 8465c58

Browse files
author
Vitor
authored
refactor(GuildFeature): remove Commerce (#523)
* refactor(GuildFeature): remove `Commerce` * docs: add `@unstable` tag to `Hub` & `LinkedToHub`
1 parent 09a1141 commit 8465c58

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

deno/payloads/v10/guild.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,10 +385,6 @@ export enum GuildFeature {
385385
* Guild has access to set a guild banner image
386386
*/
387387
Banner = 'BANNER',
388-
/**
389-
* Guild has access to use commerce features (i.e. create store channels)
390-
*/
391-
Commerce = 'COMMERCE',
392388
/**
393389
* Guild can enable welcome screen, Membership Screening and discovery, and receives community updates
394390
*/
@@ -409,6 +405,8 @@ export enum GuildFeature {
409405
* Guild is a Student Hub
410406
*
411407
* See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ
408+
*
409+
* @unstable This feature is currently not documented by Discord, but has known value
412410
*/
413411
Hub = 'HUB',
414412
/**
@@ -419,6 +417,8 @@ export enum GuildFeature {
419417
* Guild is in a Student Hub
420418
*
421419
* See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ
420+
*
421+
* @unstable This feature is currently not documented by Discord, but has known value
422422
*/
423423
LinkedToHub = 'LINKED_TO_HUB',
424424
/**

deno/payloads/v9/guild.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,10 +385,6 @@ export enum GuildFeature {
385385
* Guild has access to set a guild banner image
386386
*/
387387
Banner = 'BANNER',
388-
/**
389-
* Guild has access to use commerce features (i.e. create store channels)
390-
*/
391-
Commerce = 'COMMERCE',
392388
/**
393389
* Guild can enable welcome screen, Membership Screening and discovery, and receives community updates
394390
*/
@@ -409,6 +405,8 @@ export enum GuildFeature {
409405
* Guild is a Student Hub
410406
*
411407
* See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ
408+
*
409+
* @unstable This feature is currently not documented by Discord, but has known value
412410
*/
413411
Hub = 'HUB',
414412
/**
@@ -419,6 +417,8 @@ export enum GuildFeature {
419417
* Guild is in a Student Hub
420418
*
421419
* See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ
420+
*
421+
* @unstable This feature is currently not documented by Discord, but has known value
422422
*/
423423
LinkedToHub = 'LINKED_TO_HUB',
424424
/**

payloads/v10/guild.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,10 +385,6 @@ export enum GuildFeature {
385385
* Guild has access to set a guild banner image
386386
*/
387387
Banner = 'BANNER',
388-
/**
389-
* Guild has access to use commerce features (i.e. create store channels)
390-
*/
391-
Commerce = 'COMMERCE',
392388
/**
393389
* Guild can enable welcome screen, Membership Screening and discovery, and receives community updates
394390
*/
@@ -409,6 +405,8 @@ export enum GuildFeature {
409405
* Guild is a Student Hub
410406
*
411407
* See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ
408+
*
409+
* @unstable This feature is currently not documented by Discord, but has known value
412410
*/
413411
Hub = 'HUB',
414412
/**
@@ -419,6 +417,8 @@ export enum GuildFeature {
419417
* Guild is in a Student Hub
420418
*
421419
* See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ
420+
*
421+
* @unstable This feature is currently not documented by Discord, but has known value
422422
*/
423423
LinkedToHub = 'LINKED_TO_HUB',
424424
/**

payloads/v9/guild.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,10 +385,6 @@ export enum GuildFeature {
385385
* Guild has access to set a guild banner image
386386
*/
387387
Banner = 'BANNER',
388-
/**
389-
* Guild has access to use commerce features (i.e. create store channels)
390-
*/
391-
Commerce = 'COMMERCE',
392388
/**
393389
* Guild can enable welcome screen, Membership Screening and discovery, and receives community updates
394390
*/
@@ -409,6 +405,8 @@ export enum GuildFeature {
409405
* Guild is a Student Hub
410406
*
411407
* See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ
408+
*
409+
* @unstable This feature is currently not documented by Discord, but has known value
412410
*/
413411
Hub = 'HUB',
414412
/**
@@ -419,6 +417,8 @@ export enum GuildFeature {
419417
* Guild is in a Student Hub
420418
*
421419
* See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ
420+
*
421+
* @unstable This feature is currently not documented by Discord, but has known value
422422
*/
423423
LinkedToHub = 'LINKED_TO_HUB',
424424
/**

0 commit comments

Comments
 (0)