Skip to content

Commit

Permalink
Swap log and commandParser
Browse files Browse the repository at this point in the history
This fixes an issue where the message printed would be trimmed
  • Loading branch information
diingus authored Jul 3, 2020
1 parent 3a65051 commit 1686d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 1686d4c

Please sign in to comment.