mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 03:00:35 +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;
|
var pmc = _step13.value;
|
||||||
|
|
||||||
if (pmc.user.equals(destination)) {
|
if (pmc.user.equals(destination)) {
|
||||||
return pmc.id;
|
resolve(pmc.id);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "discord.js",
|
"name": "discord.js",
|
||||||
"version": "3.3.1",
|
"version": "3.3.2",
|
||||||
"description": "A way to interface with the Discord API",
|
"description": "A way to interface with the Discord API",
|
||||||
"main": "./lib/index.js",
|
"main": "./lib/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
|
|
@ -1149,7 +1149,8 @@ class Client {
|
||||||
//check if we have a PM
|
//check if we have a PM
|
||||||
for (var pmc of self.pmChannelCache) {
|
for (var pmc of self.pmChannelCache) {
|
||||||
if (pmc.user.equals(destination)) {
|
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