mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Added guild.createRole()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user