async function unban(
  guildId,
  id,
) {
  await requireBotGuildPermissions(guildId, [
    "BAN_MEMBERS",
  ]);
  return await rest.runMethod("delete", endpoints.GUILD_BAN(guildId, id));
}
/** Remove the ban for a user. Requires BAN_MEMBERS permission */
Remove the ban for a user.
Remove the ban for a user .
async function unban(
  guildId,
  id,
) {
  await requireBotGuildPermissions(guildId, [
    "BAN_MEMBERS",
  ]);
  return await rest.runMethod("delete", endpoints.GUILD_BAN(guildId, id));
}
async function unban ( guildId , id , ) { await requireBotGuildPermissions ( guildId , [ "BAN_MEMBERS" , ] ) ; return await rest . runMethod ( "delete" , endpoints . GUILD_BAN ( guildId , id ) ) ; }
Remove the ban for a user.
Remove the ban for a user .