Added guild.createRole()

This commit is contained in:
Amish Shah
2016-07-02 21:28:49 +01:00
parent bbf0b0683a
commit 849b8df2da
8 changed files with 382 additions and 332 deletions

View File

@@ -180,6 +180,10 @@ class Guild {
return this.client.rest.methods.CreateChannel(this, name, type);
}
createRole() {
return this.client.rest.methods.CreateGuildRole(this);
}
leave() {
return this.client.rest.methods.LeaveGuild(this);
}