From bf07e5efd640c3981eaca58fb28e363dbf079427 Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Thu, 4 Apr 2019 23:15:02 +1100 Subject: [PATCH] missing line --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index e335974..94b341c 100644 --- a/index.js +++ b/index.js @@ -117,6 +117,7 @@ function onMessage(msg, again = true) { } } function doPMCommand(msg, prefix) { + var message = msg.cleanContent const command = message.substring(prefix.length).split(/[ \n]/)[0].trim().toLowerCase() msg.suffix = message.substring(prefix.length + command.length).trim()