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

@@ -18,4 +18,12 @@ export default class Invite {
toString(){
return `https://discord.gg/${this.code}`;
}
delete(){
return this.client.deleteInvite.apply(this.client, reg(this, arguments));
}
join(){
return this.client.joinServer.apply(this.client, reg(this, arguments));
}
}