async function removeDiscoverySubcategory(
  guildId,
  categoryId,
) {
  await requireBotGuildPermissions(guildId, [
    "MANAGE_GUILD",
  ]);
  return await rest.runMethod(
    "delete",
    endpoints.DISCOVERY_SUBCATEGORY(guildId, categoryId),
  );
}
/** Removes a discovery subcategory from the guild. Requires the MANAGE_GUILD permission. Returns a 204 No Content on success. */
Removes a discovery subcategory from the guild. Requires the MANAGE_GUILD permission. Returns a 204 No Content on success.
Removes a discovery subcategory from the guild . Requires the MANAGE_GUILD permission . Returns a 204 No Content on success .
async function removeDiscoverySubcategory(
  guildId,
  categoryId,
) {
  await requireBotGuildPermissions(guildId, [
    "MANAGE_GUILD",
  ]);
  return await rest.runMethod(
    "delete",
    endpoints.DISCOVERY_SUBCATEGORY(guildId, categoryId),
  );
}
async function removeDiscoverySubcategory ( guildId , categoryId , ) { await requireBotGuildPermissions ( guildId , [ "MANAGE_GUILD" , ] ) ; return await rest . runMethod ( "delete" , endpoints . DISCOVERY_SUBCATEGORY ( guildId , categoryId ) , ) ; }
Removes a discovery subcategory from the guild.
Removes a discovery subcategory from the guild .