Minor bug fix when starting PMs

This commit is contained in:
hydrabolt
2015-08-14 22:52:51 +01:00
parent 32c7fade7a
commit a3225b3107
2 changed files with 44 additions and 28 deletions

View File

@@ -414,6 +414,8 @@ exports.Client.prototype.startPM = function( user, message, cb, _mentions, optio
var client = this;
cb = cb || function(){};
request
.post( Endpoints.USERS + "/" + client.user.id + "/channels" )
.set( "authorization", client.token )