Merge pull request #22 from hydrabolt/indev

ACTUALLY fix it
This commit is contained in:
Amish Shah
2015-08-30 22:06:20 +01:00
4 changed files with 4 additions and 4 deletions

View File

@@ -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) {

View File

@@ -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": {

View File

@@ -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){