diff --git a/shard.js b/shard.js index 7f8b324..ff29a22 100644 --- a/shard.js +++ b/shard.js @@ -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`, }); diff --git a/utils/collections.js b/utils/collections.js index 177321a..39b339b 100644 --- a/utils/collections.js +++ b/utils/collections.js @@ -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) {