mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +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)
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.large = data.large || this.large;
|
||||
this.large = Boolean('large' in data ? data.large : this.large);
|
||||
|
||||
/**
|
||||
* An array of guild features.
|
||||
|
||||
Reference in New Issue
Block a user