From 725f504bf9394b49dea129b07137f3809315aca9 Mon Sep 17 00:00:00 2001 From: hydrabolt Date: Fri, 14 Aug 2015 16:05:49 +0100 Subject: [PATCH] small fix --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index 73bb2432d..c71c003fe 100644 --- a/index.js +++ b/index.js @@ -397,6 +397,10 @@ exports.Client.prototype.sendMessage = function( channel, message, cb, _mentions options = options || {}; + if(message instanceof Array){ + message = message.join("\n"); + } + var thisLoopId = Math.floor( Math.random() * 1000 ); if ( channel instanceof User ) {