From 76ab377a191f7de74a367376bd588114306ccc7a Mon Sep 17 00:00:00 2001 From: nyanjou Date: Tue, 3 Feb 2026 14:38:39 +0100 Subject: [PATCH] style: use bit shift operators for Discord message flags --- src/discord/voice-message.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/discord/voice-message.ts b/src/discord/voice-message.ts index 2b90bec696..98d1d8dd0d 100644 --- a/src/discord/voice-message.ts +++ b/src/discord/voice-message.ts @@ -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 = {