async function deleteRole(
  guildId,
  id,
) {
  await requireBotGuildPermissions(guildId, [
    "MANAGE_ROLES",
  ]);
  return await rest.runMethod("delete", endpoints.GUILD_ROLE(guildId, id));
}
/** Delete a guild role. Requires the MANAGE_ROLES permission. */
Delete a guild role. Requires the MANAGE_ROLES permission.
Delete a guild role . Requires the MANAGE_ROLES permission .
async function deleteRole(
  guildId,
  id,
) {
  await requireBotGuildPermissions(guildId, [
    "MANAGE_ROLES",
  ]);
  return await rest.runMethod("delete", endpoints.GUILD_ROLE(guildId, id));
}
async function deleteRole ( guildId , id , ) { await requireBotGuildPermissions ( guildId , [ "MANAGE_ROLES" , ] ) ; return await rest . runMethod ( "delete" , endpoints . GUILD_ROLE ( guildId , id ) ) ; }
Delete a guild role.
Delete a guild role .