mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
fix: GuildMemberStore#_fetchMany (#3420)
* added DARK_MODE_INVISIBLE added another constant color that makes embeds appear invisible on DARK mode. * travis likes trailing commas * fix: ref issue: #3414 * fix: removed a random color
This commit is contained in:
@@ -192,8 +192,8 @@ class GuildMemberStore extends DataStore {
|
||||
|
||||
_fetchMany({ query = '', limit = 0 } = {}) {
|
||||
return new Promise((resolve, reject) => {
|
||||
if (this.guild.memberCount === this.size) {
|
||||
resolve(query || limit ? new Collection() : this);
|
||||
if (this.guild.memberCount === this.size && !query && !limit) {
|
||||
resolve(this);
|
||||
return;
|
||||
}
|
||||
this.guild.shard.send({
|
||||
|
||||
Reference in New Issue
Block a user