mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 17:52:55 +00: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:
parent
5cd42695ae
commit
2d8e26c24c
1 changed files with 12 additions and 2 deletions
|
|
@ -114,8 +114,18 @@ class Guild extends Base {
|
||||||
this.large = Boolean('large' in data ? data.large : this.large);
|
this.large = Boolean('large' in data ? data.large : this.large);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An array of guild features
|
* An array of enabled guild features, here are the possible values:
|
||||||
* @type {string[]}
|
* * 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;
|
this.features = data.features;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue