Phase 3 implemented — Text LLM can now stream to the TTS pipeline with the !miku say command

This commit is contained in:
2026-01-17 00:01:17 +02:00
parent 9943cecdec
commit 3e59e5d2f6
3 changed files with 123 additions and 2 deletions

View File

@@ -125,7 +125,7 @@ async def on_message(message):
if message.author == globals.client.user:
return
# Check for voice commands first (!miku join, !miku leave, !miku voice-status, !miku test)
# Check for voice commands first (!miku join, !miku leave, !miku voice-status, !miku test, !miku say)
if not isinstance(message.channel, discord.DMChannel) and message.content.strip().lower().startswith('!miku '):
from commands.voice import handle_voice_command
@@ -134,7 +134,7 @@ async def on_message(message):
cmd = parts[1].lower()
args = parts[2:] if len(parts) > 2 else []
if cmd in ['join', 'leave', 'voice-status', 'test']:
if cmd in ['join', 'leave', 'voice-status', 'test', 'say']:
await handle_voice_command(message, cmd, args)
return