This commit is contained in:
Dragon Fire
2021-06-20 20:29:18 -04:00
parent c9848443a3
commit fb2f424586
+1 -1
View File
@@ -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) {