mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
forceFetch callback when no fetch necessary
This commit is contained in:
@@ -356,7 +356,11 @@ var InternalClient = (function () {
|
||||
this.chunkloaderCount[server.id] = Math.ceil(server.memberCount / 1000);
|
||||
}
|
||||
return new Promise(function (resolve, reject) {
|
||||
_this4.chunkloaderCallback = resolve;
|
||||
if (!server) {
|
||||
resolve();
|
||||
} else {
|
||||
_this4.chunkloaderCallback = resolve;
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user