remove console.log

This commit is contained in:
Supositware 2024-02-04 01:40:54 +01:00
parent bf9c87f3b8
commit 12ba7621b6
2 changed files with 0 additions and 4 deletions

View file

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

View file

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