diff --git a/bot/runtime/events/messageCreate.js b/bot/runtime/events/messageCreate.js index 0cfc345..827dd7b 100644 --- a/bot/runtime/events/messageCreate.js +++ b/bot/runtime/events/messageCreate.js @@ -33,6 +33,7 @@ module.exports = async (client, message) => { let cmdToRun = client.commands.get(cmd.name) || client.commands.get(client.aliases.get(cmd.name)); if (!cmdToRun) {return;} + await message.channel.sendTyping(); try {cmdToRun.run(client, message, args, cmd).catch(e => client.error(`There was an error in the ${cmdToRun.name} command.`, 0, 0, 1, e, '\n'));} catch (e) {client.error(`There was an error in the ${cmdToRun.name} command.`, 0, 0, 1, e, '\n');} }; \ No newline at end of file