mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
3.3.2, fixed PMs.
This commit is contained in:
@@ -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
Reference in New Issue
Block a user