mirror of
https://github.com/danbulant/discord.js
synced 2026-06-18 22:21:17 +00:00
3.3.2, fixed PMs.
This commit is contained in:
parent
527947dbd3
commit
8b88fd1ea5
5 changed files with 3600 additions and 3 deletions
|
|
@ -1375,7 +1375,8 @@ var Client = (function () {
|
|||
var pmc = _step13.value;
|
||||
|
||||
if (pmc.user.equals(destination)) {
|
||||
return pmc.id;
|
||||
resolve(pmc.id);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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
3593
web-dist/discord.3.3.2.js
Normal file
File diff suppressed because it is too large
Load diff
2
web-dist/discord.min.3.3.2.js
Normal file
2
web-dist/discord.min.3.3.2.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue