mirror of
https://github.com/danbulant/discord.js
synced 2026-05-26 13:32:04 +00:00
commit
3ccbd391e7
4 changed files with 4 additions and 4 deletions
|
|
@ -595,7 +595,7 @@ var Client = (function () {
|
|||
fstream = file;
|
||||
}
|
||||
|
||||
self.resolveDestination(destination).then(send)["catch"](error);
|
||||
self.resolveDestination(destination).then(send)["catch"](bad);
|
||||
|
||||
function send(destination) {
|
||||
if (self.options.queue) {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "discord.js",
|
||||
"version": "3.1.4",
|
||||
"version": "3.1.5",
|
||||
"description": "A way to interface with the Discord API",
|
||||
"main": "./lib/index.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -600,7 +600,7 @@ class Client {
|
|||
fstream = file;
|
||||
}
|
||||
|
||||
self.resolveDestination(destination).then(send).catch(error);
|
||||
self.resolveDestination(destination).then(send).catch(bad);
|
||||
|
||||
function send(destination) {
|
||||
if(self.options.queue){
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ mybot.on("message", function (message) {
|
|||
return;
|
||||
}
|
||||
|
||||
var action1 = mybot.sendMessage(message.channel, "this is message " + 1);
|
||||
var action1 = mybot.sendMessage(message.channel, "this is message " + 1);
|
||||
var action2 = mybot.sendMessage(message.channel, "this is message " + 2).then(log);
|
||||
|
||||
function log() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue