2.6.7 - update to support an apparently new discord api change

This commit is contained in:
hydrabolt
2015-08-20 17:02:59 +01:00
parent f65515fa55
commit 369cdcd7de
4 changed files with 6 additions and 4 deletions

View File

@@ -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();
}