From ea8b4e73559d118a826ac3b242c1a3626b4f6d29 Mon Sep 17 00:00:00 2001 From: Vlad Frangu Date: Thu, 26 Sep 2019 00:28:12 +0300 Subject: [PATCH] docs/typings: Rename LURKABLE to PUBLIC and update GuildFeatures type (#3484) * docs: Rename LURKABLE to PUBLIC * typings: Update GuildFeatures type --- src/structures/Guild.js | 2 +- typings/index.d.ts | 17 +++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 9de57145b..75925663e 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -154,7 +154,7 @@ class Guild extends Base { * * DISCOVERABLE * * FEATURABLE * * INVITE_SPLASH - * * LURKABLE + * * PUBLIC * * NEWS * * PARTNERED * * VANITY_URL diff --git a/typings/index.d.ts b/typings/index.d.ts index fdf1a5b81..4f03ef11d 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -2235,13 +2235,18 @@ declare module 'discord.js' { channel: GuildChannelResolvable | null; } - type GuildFeatures = 'INVITE_SPLASH' - | 'MORE_EMOJI' - | 'VERIFIED' - | 'VIP_REGIONS' - | 'VANITY_URL' + type GuildFeatures = 'ANIMATED_ICON' + | 'BANNER' + | 'COMMERCE' | 'DISCOVERABLE' - | 'FEATURABLE'; + | 'FEATURABLE' + | 'INVITE_SPLASH' + | 'PUBLIC' + | 'NEWS' + | 'PARTNERED' + | 'VANITY_URL' + | 'VERIFIED' + | 'VIP_REGIONS'; interface GuildMemberEditData { nick?: string;