mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
docs: add Guild#features type (#2105)
* docs: add Guild#features type * fixed spacing * make it a list, and add MORE_EMOJI
This commit is contained in:
@@ -114,8 +114,18 @@ class Guild extends Base {
|
||||
this.large = Boolean('large' in data ? data.large : this.large);
|
||||
|
||||
/**
|
||||
* An array of guild features
|
||||
* @type {string[]}
|
||||
* An array of enabled guild features, here are the possible values:
|
||||
* * INVITE_SPLASH
|
||||
* * MORE_EMOJI
|
||||
* * VERIFIED
|
||||
* * VIP_REGIONS
|
||||
* * VANITY_URL
|
||||
* @typedef {string} Features
|
||||
*/
|
||||
|
||||
/**
|
||||
* An array of guild features partnered guilds have enabled
|
||||
* @type {Features[]}
|
||||
*/
|
||||
this.features = data.features;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user