Fix <Guild>.large (#1062)

* Fix <Guild>.large

Would either be true or undefined.

* Update Guild.js

* To make hydrabolt happy

* Update Guild.js
This commit is contained in:
HyperCoder
2017-01-05 10:43:57 -05:00
committed by Amish Shah
parent 495264761c
commit fdc8050188

View File

@@ -106,7 +106,7 @@ class Guild {
* Whether the guild is "large" (has more than 250 members)
* @type {boolean}
*/
this.large = data.large || this.large;
this.large = Boolean('large' in data ? data.large : this.large);
/**
* An array of guild features.