mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Fix
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user