From 9adefeb75eec2c06cd07e60b64656932d6b11fe4 Mon Sep 17 00:00:00 2001 From: PhaxeNor Date: Sun, 14 Feb 2021 20:54:03 +0100 Subject: [PATCH 1/3] feat(GuildFeatures): added the new screening features --- src/structures/Guild.js | 2 ++ typings/index.d.ts | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 44709efee1a0..520abc4fb567 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -177,6 +177,8 @@ class Guild extends Base { * * VERIFIED * * VIP_REGIONS * * WELCOME_SCREEN_ENABLED + * * MEMBER_VERIFICATION_GATE_ENABLED + * * PREVIEW_ENABLED * @typedef {string} Features */ diff --git a/typings/index.d.ts b/typings/index.d.ts index 5f6874f37407..45c93ab84135 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -2753,7 +2753,9 @@ declare module 'discord.js' { | 'VANITY_URL' | 'VERIFIED' | 'VIP_REGIONS' - | 'WELCOME_SCREEN_ENABLED'; + | 'WELCOME_SCREEN_ENABLED' + | 'MEMBER_VERIFICATION_GATE_ENABLED' + | 'PREVIEW_ENABLED'; interface GuildMemberEditData { nick?: string | null; From e797cf78b4e4b7cf53ce148a0599fe046736a42d Mon Sep 17 00:00:00 2001 From: Noel Date: Thu, 15 Apr 2021 02:05:36 +0200 Subject: [PATCH 2/3] Update index.d.ts --- typings/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 45c93ab84135..35450f3c8dbc 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -2747,15 +2747,15 @@ declare module 'discord.js' { | 'DISCOVERABLE' | 'FEATURABLE' | 'INVITE_SPLASH' + | 'MEMBER_VERIFICATION_GATE_ENABLED' | 'NEWS' | 'PARTNERED' + | 'PREVIEW_ENABLED' | 'RELAY_ENABLED' | 'VANITY_URL' | 'VERIFIED' | 'VIP_REGIONS' - | 'WELCOME_SCREEN_ENABLED' - | 'MEMBER_VERIFICATION_GATE_ENABLED' - | 'PREVIEW_ENABLED'; + | 'WELCOME_SCREEN_ENABLED'; interface GuildMemberEditData { nick?: string | null; From 8773006e7e7be0ae7494b9fd721630d094bd83c9 Mon Sep 17 00:00:00 2001 From: Noel Date: Thu, 15 Apr 2021 02:06:17 +0200 Subject: [PATCH 3/3] Update Guild.js --- src/structures/Guild.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 520abc4fb567..288542f7e10b 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -170,15 +170,15 @@ class Guild extends Base { * * DISCOVERABLE * * FEATURABLE * * INVITE_SPLASH + * * MEMBER_VERIFICATION_GATE_ENABLED * * NEWS * * PARTNERED + * * PREVIEW_ENABLED * * RELAY_ENABLED * * VANITY_URL * * VERIFIED * * VIP_REGIONS * * WELCOME_SCREEN_ENABLED - * * MEMBER_VERIFICATION_GATE_ENABLED - * * PREVIEW_ENABLED * @typedef {string} Features */