Compiled lib

This commit is contained in:
abalabahaha
2015-12-05 11:32:33 -08:00
parent 50646503cd
commit d2147304c8
9 changed files with 166 additions and 26 deletions

View File

@@ -36,7 +36,7 @@ var TextChannel = (function (_ServerChannel) {
/* warning! may return null */
TextChannel.prototype.setTopic = function setTopic() {
return this.client.setTopic.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
return this.client.setChannelTopic.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
};
TextChannel.prototype.setNameAndTopic = function setNameAndTopic() {
@@ -63,6 +63,22 @@ var TextChannel = (function (_ServerChannel) {
return this.client.sendTTSMessage.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
};
TextChannel.prototype.sendFile = function sendFile() {
return this.client.sendFile.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
};
TextChannel.prototype.getLogs = function getLogs() {
return this.client.getChannelLogs.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
};
TextChannel.prototype.startTyping = function startTyping() {
return this.client.startTyping.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
};
TextChannel.prototype.stopTyping = function stopTyping() {
return this.client.stopTyping.apply(this.client, _UtilArgumentRegulariser.reg(this, arguments));
};
_createClass(TextChannel, [{
key: "lastMessage",
get: function get() {