mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-20 21:43:33 +01:00
Fixed bug which stopped file sending
This commit is contained in:
@@ -595,7 +595,7 @@ var Client = (function () {
|
|||||||
fstream = file;
|
fstream = file;
|
||||||
}
|
}
|
||||||
|
|
||||||
self.resolveDestination(destination).then(send)["catch"](error);
|
self.resolveDestination(destination).then(send)["catch"](bad);
|
||||||
|
|
||||||
function send(destination) {
|
function send(destination) {
|
||||||
if (self.options.queue) {
|
if (self.options.queue) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "discord.js",
|
"name": "discord.js",
|
||||||
"version": "3.1.4",
|
"version": "3.1.5",
|
||||||
"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": {
|
||||||
|
|||||||
@@ -600,7 +600,7 @@ class Client {
|
|||||||
fstream = file;
|
fstream = file;
|
||||||
}
|
}
|
||||||
|
|
||||||
self.resolveDestination(destination).then(send).catch(error);
|
self.resolveDestination(destination).then(send).catch(bad);
|
||||||
|
|
||||||
function send(destination) {
|
function send(destination) {
|
||||||
if(self.options.queue){
|
if(self.options.queue){
|
||||||
|
|||||||
Reference in New Issue
Block a user