From 6e91fc7077ba113f3373f0a145128abb4d6f2089 Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Thu, 4 Apr 2019 23:32:37 +1100 Subject: [PATCH] message react with caution emoji if failed. --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index e562d08..a30c9e9 100644 --- a/index.js +++ b/index.js @@ -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('⛔')