3.3.2, fixed PMs.

This commit is contained in:
hydrabolt
2015-09-12 15:49:56 +01:00
parent 527947dbd3
commit 8b88fd1ea5
5 changed files with 3600 additions and 3 deletions

View File

@@ -1375,7 +1375,8 @@ var Client = (function () {
var pmc = _step13.value;
if (pmc.user.equals(destination)) {
return pmc.id;
resolve(pmc.id);
return;
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "discord.js",
"version": "3.3.1",
"version": "3.3.2",
"description": "A way to interface with the Discord API",
"main": "./lib/index.js",
"scripts": {

View File

@@ -1149,7 +1149,8 @@ class Client {
//check if we have a PM
for (var pmc of self.pmChannelCache) {
if (pmc.user.equals(destination)) {
return pmc.id;
resolve(pmc.id);
return;
}
}

3593
web-dist/discord.3.3.2.js Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long