mirror of
https://github.com/danbulant/discord.js
synced 2026-07-08 20:51:14 +00:00
small fix
This commit is contained in:
parent
76cf78c5a1
commit
725f504bf9
1 changed files with 4 additions and 0 deletions
4
index.js
4
index.js
|
|
@ -397,6 +397,10 @@ exports.Client.prototype.sendMessage = function( channel, message, cb, _mentions
|
||||||
|
|
||||||
options = options || {};
|
options = options || {};
|
||||||
|
|
||||||
|
if(message instanceof Array){
|
||||||
|
message = message.join("\n");
|
||||||
|
}
|
||||||
|
|
||||||
var thisLoopId = Math.floor( Math.random() * 1000 );
|
var thisLoopId = Math.floor( Math.random() * 1000 );
|
||||||
|
|
||||||
if ( channel instanceof User ) {
|
if ( channel instanceof User ) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue