feat(bot): mirror heard voice turns to a text channel

Set DISCORD_TRANSCRIPT_CHANNEL_ID to a text channel and the userbot posts
"들은 말: <transcript> / 답변: <reply or (무응답)>" for every voice turn, so you can
verify what the bot understood even when it doesn't answer aloud.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
javis-bot
2026-06-13 22:06:38 +09:00
parent 4e446c1d7c
commit 62bb0ab87e
2 changed files with 25 additions and 1 deletions

View File

@@ -27,6 +27,10 @@ export const config = {
// Userbot auto-join: if set, the userbot joins this voice channel on startup;
// if empty, it waits for a text command (e.g. "!자비스 join") to join.
autoJoinChannelId: opt("DISCORD_VOICE_CHANNEL_ID"),
// Optional text channel where the bot mirrors every voice turn it heard
// (transcript + reply) so you can verify what it understood even when it
// doesn't answer aloud.
transcriptChannelId: opt("DISCORD_TRANSCRIPT_CHANNEL_ID"),
// --- Python brain bridge ---
bridgeUrl: opt("BRIDGE_URL", "http://127.0.0.1:8765"),