Skip to content
This repository has been archived by the owner on Aug 28, 2020. It is now read-only.

Commit

Permalink
we sent the message, there is no question of if it's deleteable
Browse files Browse the repository at this point in the history
  • Loading branch information
bdistin committed Oct 29, 2017
1 parent 3a1e4e9 commit 53eacfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/monitors/commandHandler.js
Expand Up @@ -88,7 +88,7 @@ module.exports = class extends Monitor {
msg.args[msg.args.lastIndexOf(null)] = param.first().content;
msg.reprompted = true;

if (message.deletable) message.delete();
message.delete();
if (this.client.config.typing) msg.channel.startTyping();
return this.runCommand(msg, timer);
}
Expand Down

0 comments on commit 53eacfb

Please sign in to comment.