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 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 ) {