mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
Added message.edit, textchannel.send, textchannel.sendTTS and pmchannel.send, pmchannel.sendTTS
This commit is contained in:
@@ -48,10 +48,18 @@ var PMChannel = (function (_Channel) {
|
||||
return this.client.sendMessage.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
|
||||
};
|
||||
|
||||
PMChannel.prototype.send = function send() {
|
||||
return this.client.sendMessage.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
|
||||
};
|
||||
|
||||
PMChannel.prototype.sendTTSMessage = function sendTTSMessage() {
|
||||
return this.client.sendTTSMessage.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
|
||||
};
|
||||
|
||||
PMChannel.prototype.sendTTS = function sendTTS() {
|
||||
return this.client.sendTTSMessage.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
|
||||
};
|
||||
|
||||
_createClass(PMChannel, [{
|
||||
key: "lastMessage",
|
||||
get: function get() {
|
||||
@@ -63,4 +71,4 @@ var PMChannel = (function (_Channel) {
|
||||
})(_Channel3["default"]);
|
||||
|
||||
exports["default"] = PMChannel;
|
||||
module.exports = exports["default"];
|
||||
module.exports = exports["default"];
|
||||
Reference in New Issue
Block a user