From ff93912afc8b11decb3d8c2d15005ab09fccfe43 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 20 Jun 2021 09:55:54 -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 85fdd65f..79adb789 100644 --- a/framework/Client.js +++ b/framework/Client.js @@ -100,7 +100,7 @@ module.exports = class CommandClient extends Client { } } const throttleAmount = command.throttles.get(msg.author.id) || 0; - if (throttleAmount >= command.throttling.uses) { + if (throttleAmount >= command.throttling.usages) { const timeout = command._timeouts.get(msg.author.id); await msg.reply( `Please wait ${getTimeLeft(timeout)} seconds before using the \`${command.name}\` command again.`