mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-12-29 01:25:38 -05:00
Fix spelling
This commit is contained in:
parent
ebb16bc33a
commit
b89f433aab
@ -12,8 +12,8 @@ export default {
|
|||||||
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){
|
} catch (error){
|
||||||
console.log(`An error occured while running command "${commandFile.name}"`, error, error.stack);
|
console.log(`An error occurred while running command "${interaction.commandName} ${interaction.options.getSubcommand(false) ?? ''}"`, error, error.stack);
|
||||||
return interaction.reply('An error occured while executing that command.');
|
return interaction.reply('An error occurred while executing that command.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user