style: use bit shift operators for Discord message flags

This commit is contained in:
nyanjou
2026-02-03 14:38:39 +01:00
committed by Shadow
parent b4359c84f7
commit 76ab377a19

View File

@@ -21,8 +21,8 @@ import type { RetryRunner } from "../infra/retry-policy.js";
const execFileAsync = promisify(execFile);
const DISCORD_VOICE_MESSAGE_FLAG = 8192;
const SUPPRESS_NOTIFICATIONS_FLAG = 4096;
const DISCORD_VOICE_MESSAGE_FLAG = 1 << 13;
const SUPPRESS_NOTIFICATIONS_FLAG = 1 << 12;
const WAVEFORM_SAMPLES = 256;
export type VoiceMessageMetadata = {