async function editDiscovery(
  guildId,
  data,
) {
  await requireBotGuildPermissions(guildId, [
    "MANAGE_GUILD",
  ]);
  return await rest.runMethod(
    "patch",
    endpoints.DISCOVERY_MODIFY(guildId),
    snakelize(data),
  );
}
/** Modify the discovery metadata for the guild. Requires the MANAGE_GUILD permission. Returns the updated discovery metadata object on success. */
Modify the discovery metadata for the guild. Requires the MANAGE_GUILD permission. Returns the updated discovery metadata object on success.
Modify the discovery metadata for the guild . Requires the MANAGE_GUILD permission . Returns the updated discovery metadata object on success .
async function editDiscovery(
  guildId,
  data,
) {
  await requireBotGuildPermissions(guildId, [
    "MANAGE_GUILD",
  ]);
  return await rest.runMethod(
    "patch",
    endpoints.DISCOVERY_MODIFY(guildId),
    snakelize(data),
  );
}
async function editDiscovery ( guildId , data , ) { await requireBotGuildPermissions ( guildId , [ "MANAGE_GUILD" , ] ) ; return await rest . runMethod ( "patch" , endpoints . DISCOVERY_MODIFY ( guildId ) , snakelize ( data ) , ) ; }
Modify the discovery metadata for the guild.
Modify the discovery metadata for the guild .