1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 16:30:58 -05:00

:any squirrel's food

This commit is contained in:
AnxietyisReal 2022-11-28 17:33:20 +11:00
parent faecf2d451
commit 606ed7d814

View File

@ -13,7 +13,7 @@ export default {
try{ try{
commandFile.default.run(client, interaction); commandFile.default.run(client, interaction);
commandFile.uses ? commandFile.uses++ : commandFile.uses = 1; commandFile.uses ? commandFile.uses++ : commandFile.uses = 1;
} catch (error:any){ } catch (error){
console.log(`An error occured while running command "${commandFile.name}"`, error, error.stack); console.log(`An error occured while running command "${commandFile.name}"`, error, error.stack);
return interaction.reply('An error occured while executing that command.'); return interaction.reply('An error occured while executing that command.');
} }