edit method

Future<Role> edit(
  1. RoleBuilder role, {
  2. String? auditReason,
})

Edits the role.

Implementation

Future<Role> edit(RoleBuilder role, {String? auditReason}) async =>
    client.httpEndpoints.editRole(this.guild.id, this.id, role, auditReason: auditReason);