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

@@ -51,10 +51,18 @@ var TextChannel = (function (_ServerChannel) {
return this.client.sendMessage.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
};
TextChannel.prototype.send = function send() {
return this.client.sendMessage.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
};
TextChannel.prototype.sendTTSMessage = function sendTTSMessage() {
return this.client.sendTTSMessage.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
};
TextChannel.prototype.sendTTS = function sendTTS() {
return this.client.sendTTSMessage.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
};
_createClass(TextChannel, [{
key: "lastMessage",
get: function get() {
@@ -66,4 +74,4 @@ var TextChannel = (function (_ServerChannel) {
})(_ServerChannel3["default"]);
exports["default"] = TextChannel;
module.exports = exports["default"];
module.exports = exports["default"];