Skip to content

Commit

Permalink
docs: add Guild#features type (#2105)
Browse files Browse the repository at this point in the history
* docs: add Guild#features type

* fixed spacing

* make it a list, and add MORE_EMOJI
  • Loading branch information
Lewdcario authored and iCrawl committed Nov 16, 2017
1 parent 5cd4269 commit 2d8e26c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/structures/Guild.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 2d8e26c

Please sign in to comment.