mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 21:13:30 +01:00
small fix
This commit is contained in:
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 ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user