async function ban(
  guildId,
  id,
  options,
) {
  await requireBotGuildPermissions(guildId, [
    "BAN_MEMBERS",
  ]);
  return await rest.runMethod(
    "put",
    endpoints.GUILD_BAN(guildId, id),
    snakelize(options),
  );
}
/** Ban a user from the guild and optionally delete previous messages sent by the user. Requires the BAN_MEMBERS permission. */
Ban a user from the guild and optionally delete previous messages sent by the user. Requires the BAN_MEMBERS permission.
Ban a user from the guild and optionally delete previous messages sent by the user . Requires the BAN_MEMBERS permission .
async function ban(
  guildId,
  id,
  options,
) {
  await requireBotGuildPermissions(guildId, [
    "BAN_MEMBERS",
  ]);
  return await rest.runMethod(
    "put",
    endpoints.GUILD_BAN(guildId, id),
    snakelize(options),
  );
}
async function ban ( guildId , id , options , ) { await requireBotGuildPermissions ( guildId , [ "BAN_MEMBERS" , ] ) ; return await rest . runMethod ( "put" , endpoints . GUILD_BAN ( guildId , id ) , snakelize ( options ) , ) ; }
Ban a user from the guild and optionally delete previous messages sent by the user.
Ban a user from the guild and optionally delete previous messages sent by the user .