diff --git a/index.js b/index.js index 055c10dd6..adeac2579 100644 --- a/index.js +++ b/index.js @@ -383,6 +383,10 @@ exports.Client.prototype.sendMessage = function( channel, message, cb, _mentions } } + if( channel instanceof Message ){ + channel = channel.channel; + } + var cb = cb || function() {}; if ( _mentions === false ) {