More shortcuts

This commit is contained in:
abalabahaha
2015-12-05 09:43:11 -08:00
parent ae71087bcc
commit 559ed5f76f
11 changed files with 91 additions and 86 deletions

View File

@@ -33,7 +33,7 @@ export default class TextChannel extends ServerChannel{
sendMessage(){
return this.client.sendMessage.apply(this.client, reg(this, arguments));
}
send() {
return this.client.sendMessage.apply(this.client, reg(this, arguments));
}
@@ -41,24 +41,24 @@ export default class TextChannel extends ServerChannel{
sendTTSMessage(){
return this.client.sendTTSMessage.apply(this.client, reg(this, arguments));
}
sendTTS() {
return this.client.sendTTSMessage.apply(this.client, reg(this, arguments));
}
sendFile() {
return this.client.sendFile.apply(this.client, reg(this, arguments));
}
getLogs() {
return this.client.getChannelLogs.apply(this.client, reg(this, arguments));
}
startTyping() {
return this.client.startTyping.apply(this.client, reg(this, arguments));
}
stopTyping() {
return this.client.startTyping.apply(this.client, reg(this, arguments));
return this.client.stopTyping.apply(this.client, reg(this, arguments));
}
}