forked from Supositware/Haha-Yes
remove console.log
This commit is contained in:
parent
bf9c87f3b8
commit
12ba7621b6
2 changed files with 0 additions and 4 deletions
|
@ -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…
Reference in a new issue