From fdc8050188dce1f113faa9195e34db8db49c9f07 Mon Sep 17 00:00:00 2001 From: HyperCoder Date: Thu, 5 Jan 2017 10:43:57 -0500 Subject: [PATCH] Fix .large (#1062) * Fix .large Would either be true or undefined. * Update Guild.js * To make hydrabolt happy * Update Guild.js --- src/structures/Guild.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 8b5cb2d3c..faa5ce55a 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -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.