mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
Fixed reply method
This commit is contained in:
@@ -337,7 +337,7 @@ var Client = (function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var user = destination.sender;
|
var user = destination.sender;
|
||||||
self.sendMessage(destination, message, callback, user + ", ").then(response)["catch"](reject);
|
self.sendMessage(destination, message, tts, callback, user + ", ").then(response)["catch"](reject);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
@@ -374,7 +374,7 @@ class Client {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var user = destination.sender;
|
var user = destination.sender;
|
||||||
self.sendMessage(destination, message, callback, user + ", ").then(response).catch(reject);
|
self.sendMessage(destination, message, tts, callback, user + ", ").then(response).catch(reject);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user