mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
2.6.7 - update to support an apparently new discord api change
This commit is contained in:
2
index.js
2
index.js
@@ -786,7 +786,7 @@ exports.Client.prototype.sendMessage = function( destination, toSend, callback,
|
||||
if ( err ) {
|
||||
callback( err );
|
||||
} else {
|
||||
self.PMList.add( new PMChannel( channel.recipient, channel.id ) );
|
||||
self.PMList.add( new PMChannel( channel.user, channel.id ) );
|
||||
setChannId( channel.id );
|
||||
send();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user