mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
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:
@@ -106,7 +106,7 @@ class Guild {
|
|||||||
* Whether the guild is "large" (has more than 250 members)
|
* Whether the guild is "large" (has more than 250 members)
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
*/
|
*/
|
||||||
this.large = data.large || this.large;
|
this.large = Boolean('large' in data ? data.large : this.large);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An array of guild features.
|
* An array of guild features.
|
||||||
|
|||||||
Reference in New Issue
Block a user