From 1686d4c1475963d072b3e8f317424bc1d4256925 Mon Sep 17 00:00:00 2001 From: Mile Vuletic Date: Fri, 3 Jul 2020 19:26:07 +0200 Subject: [PATCH] Swap log and commandParser This fixes an issue where the message printed would be trimmed --- lib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.js b/lib.js index a165ddc..ea56175 100644 --- a/lib.js +++ b/lib.js @@ -117,7 +117,7 @@ export default { transformers: [ reduceHtml ], filters: [ roomCheck, isCommand ], - consumer( m ) { commandParser( m ); console.log( m ); }, + consumer( m ) { console.log( m ); commandParser( m ); }, async init() { api.rcvMessageBulk = ms => handleMessages( this, ms );