From fb2f4245862cc75ce9ab262bdc136ca52bcb67ea Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 20 Jun 2021 20:29:18 -0400 Subject: [PATCH] Fix --- framework/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Client.js b/framework/Client.js index 1cab8aba..df346c3f 100644 --- a/framework/Client.js +++ b/framework/Client.js @@ -106,7 +106,7 @@ module.exports = class CommandClient extends Client { return; } command.throttles.set(msg.author.id, { - usages: throttleAmount + 1, + usages: throttleAmount.usages + 1, timeFinish: Date.now() + (command.throttling.duration * 1000) }); if (!throttleAmount) {