diff --git a/src/structures/GuildRole.ts b/src/structures/GuildRole.ts index 923428e..ac1cbd1 100644 --- a/src/structures/GuildRole.ts +++ b/src/structures/GuildRole.ts @@ -31,8 +31,8 @@ export class GuildRole extends DiscordBase { return this.client.roles.fetch(this.guildId, this.id, force); } - edit(body: RESTPatchAPIGuildRoleJSONBody, reason?: string) { - return this.client.roles.create(this.guildId, body, reason); + edit(body: RESTPatchAPIGuildRoleJSONBody) { + return this.client.roles.edit(this.guildId, this.id, body); } delete(reason?: string) {