feat(Guild): PUBLIC_DISABLED and WELCOME_SCREEN_ENABLED features (#4009)

This commit is contained in:
Advaith
2020-04-03 02:59:51 -07:00
committed by GitHub
parent 691e96c5cf
commit 849c6324d3
2 changed files with 7 additions and 3 deletions

View File

@@ -160,12 +160,14 @@ class Guild extends Base {
* * DISCOVERABLE * * DISCOVERABLE
* * FEATURABLE * * FEATURABLE
* * INVITE_SPLASH * * INVITE_SPLASH
* * PUBLIC
* * NEWS * * NEWS
* * PARTNERED * * PARTNERED
* * PUBLIC
* * PUBLIC_DISABLED
* * VANITY_URL * * VANITY_URL
* * VERIFIED * * VERIFIED
* * VIP_REGIONS * * VIP_REGIONS
* * WELCOME_SCREEN_ENABLED
* @typedef {string} Features * @typedef {string} Features
*/ */

6
typings/index.d.ts vendored
View File

@@ -2510,12 +2510,14 @@ declare module 'discord.js' {
| 'DISCOVERABLE' | 'DISCOVERABLE'
| 'FEATURABLE' | 'FEATURABLE'
| 'INVITE_SPLASH' | 'INVITE_SPLASH'
| 'PUBLIC'
| 'NEWS' | 'NEWS'
| 'PARTNERED' | 'PARTNERED'
| 'PUBLIC'
| 'PUBLIC_DISABLED'
| 'VANITY_URL' | 'VANITY_URL'
| 'VERIFIED' | 'VERIFIED'
| 'VIP_REGIONS'; | 'VIP_REGIONS'
| 'WELCOME_SCREEN_ENABLED';
interface GuildMemberEditData { interface GuildMemberEditData {
nick?: string; nick?: string;