* fix

* chore: apply formatting

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Free 公園 2024-11-20 20:42:36 -06:00 committed by GitHub
parent 442752319c
commit 1abf41170e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,8 +31,8 @@ export class GuildRole extends DiscordBase {
return this.client.roles.fetch(this.guildId, this.id, force); return this.client.roles.fetch(this.guildId, this.id, force);
} }
edit(body: RESTPatchAPIGuildRoleJSONBody, reason?: string) { edit(body: RESTPatchAPIGuildRoleJSONBody) {
return this.client.roles.create(this.guildId, body, reason); return this.client.roles.edit(this.guildId, this.id, body);
} }
delete(reason?: string) { delete(reason?: string) {