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

@@ -27,8 +27,16 @@ export default class PMChannel extends Channel {
sendMessage(){
return this.client.sendMessage.apply(this.client, reg(this, arguments));
}
send() {
return this.client.sendMessage.apply(this.client, reg(this, arguments));
}
sendTTSMessage(){
return this.client.sendTTSMessage.apply(this.client, reg(this, arguments));
}
sendTTS() {
return this.client.sendTTSMessage.apply(this.client, reg(this, arguments));
}
}