Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
chore(): don't forget to await!
Browse files Browse the repository at this point in the history
  • Loading branch information
alexthemaster committed Jul 31, 2020
1 parent cb227bf commit d0a5776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/Message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default class extends Event {
}

try {
cmd.run(message, parsedArgs);
await cmd.run(message, parsedArgs);
} catch (err) {
message.channel.send(`Something went wrong: \`\`\`${err}\`\`\``);
}
Expand Down

0 comments on commit d0a5776

Please sign in to comment.