From 849c6324d3f724018b91780911200486f19563d7 Mon Sep 17 00:00:00 2001 From: Advaith Date: Fri, 3 Apr 2020 02:59:51 -0700 Subject: [PATCH] feat(Guild): PUBLIC_DISABLED and WELCOME_SCREEN_ENABLED features (#4009) --- src/structures/Guild.js | 4 +++- typings/index.d.ts | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index ec86c4232..ba32506f6 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -160,12 +160,14 @@ class Guild extends Base { * * DISCOVERABLE * * FEATURABLE * * INVITE_SPLASH - * * PUBLIC * * NEWS * * PARTNERED + * * PUBLIC + * * PUBLIC_DISABLED * * VANITY_URL * * VERIFIED * * VIP_REGIONS + * * WELCOME_SCREEN_ENABLED * @typedef {string} Features */ diff --git a/typings/index.d.ts b/typings/index.d.ts index 407bf034c..b23b36bbe 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -2510,12 +2510,14 @@ declare module 'discord.js' { | 'DISCOVERABLE' | 'FEATURABLE' | 'INVITE_SPLASH' - | 'PUBLIC' | 'NEWS' | 'PARTNERED' + | 'PUBLIC' + | 'PUBLIC_DISABLED' | 'VANITY_URL' | 'VERIFIED' - | 'VIP_REGIONS'; + | 'VIP_REGIONS' + | 'WELCOME_SCREEN_ENABLED'; interface GuildMemberEditData { nick?: string;