1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 04:10:59 -05:00

Fix spelling

This commit is contained in:
toast-ts 2023-03-31 19:56:01 +11:00
parent 880c69c46d
commit 62291baadb

View File

@ -12,8 +12,8 @@ export default {
commandFile.default.run(client, interaction);
commandFile.uses ? commandFile.uses++ : commandFile.uses = 1;
} 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.');
console.log(`An error occurred while running command "${interaction.commandName} ${interaction.options.getSubcommand(false) ?? ''}"`, error, error.stack);
return interaction.reply('An error occurred while executing that command.');
}
}
}