mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 17:21:31 +00: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:
parent
495264761c
commit
fdc8050188
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue