remove console.log

Slash-V14
Supositware 3 months ago
parent bf9c87f3b8
commit 12ba7621b6

@ -71,9 +71,7 @@ export default {
// Check if the limit of parallel execution has been reached
if (command.parallelLimit) {
console.log('Command has a parallel limit');
const doParallelLimit = ratelimiter.checkParallel(interaction.user, commandName, command);
console.log(doParallelLimit.limited);
if (doParallelLimit.limited) {
return await interaction.reply({ content: doParallelLimit, ephemeral: true });
}

@ -333,9 +333,7 @@ export default {
// Check if the limit of parallel execution has been reached
if (command.parallelLimit) {
console.log('Command has a parallel limit');
const doParallelLimit = ratelimiter.checkParallel(message.author, commandName, command);
console.log(doParallelLimit.limited);
if (doParallelLimit.limited) {
return await message.reply({ content: doParallelLimit, ephemeral: true });
}

Loading…
Cancel
Save