// Discord helper module supports config behavior.
import type { DiscordAccountConfig } from "openclaw/plugin-sdk/config-contracts";

export function resolveDiscordVoiceEnabled(voice: DiscordAccountConfig["voice"]): boolean {
  if (voice?.enabled !== undefined) {
    return voice.enabled;
  }
  return voice !== undefined;
}
