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

Commit

Permalink
fix(events): fix building
Browse files Browse the repository at this point in the history
  • Loading branch information
alexthemaster authored and dependabot-preview[bot] committed Oct 19, 2020
1 parent 6c88fe7 commit aadc1f4
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 @@ -112,7 +112,7 @@ export default class extends Event {
try {
parsedArgs = await new ArgumentParser(cmd.usage, args.join(' '), cmd.usageDelim, this.client, message).parse();
} catch (res) {
if (cmd.customizedResponses.has(res.arg)) return message.channel.send(cmd.customizedResponses.get(res.arg));
if (cmd.customizedResponses.has(res.arg)) return message.channel.send(cmd.customizedResponses.get(res.arg)!);
return message.channel.send(res.message);
}

Expand Down

0 comments on commit aadc1f4

Please sign in to comment.