From 2d8e26c24c360148083cacb3468a58c99320198a Mon Sep 17 00:00:00 2001 From: Isabella Date: Thu, 16 Nov 2017 08:24:27 -0600 Subject: [PATCH] docs: add Guild#features type (#2105) * docs: add Guild#features type * fixed spacing * make it a list, and add MORE_EMOJI --- src/structures/Guild.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index e00151f47..b84117e91 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -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;