message react with caution emoji if failed.

This commit is contained in:
2019-04-04 23:32:37 +11:00
parent 2ace996ec7
commit 6e91fc7077

View File

@@ -132,6 +132,7 @@ function doPMCommand(msg, prefix) {
} catch (err) {
console.error('There was an error running: ' + command);
console.error(err.stack);
msg.react('⚠️')
}
} else {
msg.react('⛔')