Added message.edit, textchannel.send, textchannel.sendTTS and pmchannel.send, pmchannel.sendTTS

This commit is contained in:
Amish Shah
2015-12-05 16:48:09 +00:00
parent 93db5efe38
commit f95822dcb7
28 changed files with 65 additions and 25 deletions

View File

@@ -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"];