Increased prefix/disabled channel cache limit

This commit is contained in:
Essem 2021-08-08 19:45:40 -05:00
parent 14855f2a07
commit cb3afa0050
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
2 changed files with 3 additions and 3 deletions

View file

@ -81,7 +81,7 @@ class Shard extends BaseClusterWorker {
}
});
this.ipc.register("playbroadcast", async (message) => {
this.ipc.register("playbroadcast", (message) => {
this.bot.editStatus("dnd", {
name: `${message.msg} | @${this.bot.user.username} help`,
});
@ -89,7 +89,7 @@ class Shard extends BaseClusterWorker {
return this.ipc.broadcast("broadcastSuccess");
});
this.ipc.register("broadcastend", async () => {
this.ipc.register("broadcastend", () => {
this.bot.editStatus("dnd", {
name: `${misc.random(messages)} | @${this.bot.user.username} help`,
});

View file

@ -17,7 +17,7 @@ exports.runningCommands = new TimedMap();
class Cache extends Map {
constructor(values) {
super(values);
this.maxValues = 512;
this.maxValues = 2048;
}
set(key, value) {