Skip to content

Commit 13764c5

Browse files
committed
fix: Reduced registration cooldown from 10 -> 5 seconds
1 parent 5f2fc2a commit 13764c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utils/RegisterCommands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ module.exports = async function DynamicRegister(client, force = false) {
151151
return;
152152
}
153153

154-
if (Date.now() - lastRegister < 1000 * 10) return; // 10 second cooldown
154+
if (Date.now() - lastRegister < 1000 * 5) return; // 5 second cooldown
155155
lastRegister = Date.now();
156156

157157
Logs.info('Checking slash commands, this may take a second...');

0 commit comments

Comments
 (0)