From 725f504bf9394b49dea129b07137f3809315aca9 Mon Sep 17 00:00:00 2001 From: hydrabolt Date: Fri, 14 Aug 2015 16:05:49 +0100 Subject: [PATCH 1/2] 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 ) { From bbc7baa97de95ec6c43626afb02988921dda9cf1 Mon Sep 17 00:00:00 2001 From: hydrabolt Date: Fri, 14 Aug 2015 16:07:10 +0100 Subject: [PATCH 2/2] small gitignore fix --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index ed5b2b2b8..9394ea652 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # Created by https://www.gitignore.io hydrabot/config.json +hydrabot/authority.json ### Node ### # Logs