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
* * FEATURABLE
* * INVITE_SPLASH
* * PUBLIC
* * NEWS
* * PARTNERED
* * PUBLIC
* * PUBLIC_DISABLED
* * VANITY_URL
* * VERIFIED
* * VIP_REGIONS
* * WELCOME_SCREEN_ENABLED
* @typedef {string} Features
*/

6
typings/index.d.ts vendored
View File

@@ -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;