Skip to content

Commit

Permalink
Update Client.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Starman3787 committed Mar 16, 2024
1 parent 8ec3dc1 commit c3c98f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ class Client extends EventsEmitter {

this.emit("debug", `Sweeping messages for GUILD ${guild.id}...`);

let cacheCount = guild.calculateMessageCacheCount();
let cacheCount = guild.calculateMessageCacheCount() * 2;
if (this.increasedCache.get(guild.id.toString()))
cacheCount = 0;

Expand Down

0 comments on commit c3c98f5

Please sign in to comment.