mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-12-28 13:05:38 -05:00
:any squirrel's food
This commit is contained in:
parent
8d5c263c3d
commit
9416ccaf3f
@ -13,7 +13,7 @@ export default {
|
||||
try{
|
||||
commandFile.default.run(client, interaction);
|
||||
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);
|
||||
return interaction.reply('An error occured while executing that command.');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user