updateRole and deleteInvite

This commit is contained in:
abalabahaha
2015-11-19 09:40:15 -08:00
parent e08c10507d
commit 224cca1e31
33 changed files with 190 additions and 70 deletions

View File

@@ -37,7 +37,7 @@ class Message{
this.mentions.add(client.internal.users.add(new User(mention, client)));
});
}
isMentioned(user){
user = this.client.internal.resolver.resolveUser(user);
if (user) {
@@ -50,19 +50,19 @@ class Message{
toString(){
return this.content;
}
delete(){
return this.client.deleteMessage.apply(this.client, reg(this, arguments));
}
update(){
return this.client.updateMessage.apply(this.client, reg(this, arguments));
}
reply(){
return this.client.reply.apply(this.client, reg(this, arguments));
}
replyTTS(){
return this.client.replyTTS.apply(this.client, reg(this, arguments));
}