mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 09:30:22 +00:00
feat(discord): add silent support for voice messages
- Add silent flag to sendDiscordVoiceMessage - Combines VOICE_MESSAGE (8192) + SUPPRESS_NOTIFICATIONS (4096) flags - Pass silent through VoiceMessageOpts and action handlers
This commit is contained in:
@@ -258,6 +258,7 @@ export async function handleDiscordMessagingAction(
|
||||
const result = await sendVoiceMessageDiscord(to, mediaUrl, {
|
||||
...(accountId ? { accountId } : {}),
|
||||
replyTo,
|
||||
silent,
|
||||
});
|
||||
return jsonResult({ ok: true, result, voiceMessage: true });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user