Phase 2 implemented and tested. Added warmup to pipeline and Miku queues tokens while the pipeline is warming up
This commit is contained in:
@@ -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)
|
||||
# Check for voice commands first (!miku join, !miku leave, !miku voice-status, !miku test)
|
||||
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']:
|
||||
if cmd in ['join', 'leave', 'voice-status', 'test']:
|
||||
await handle_voice_command(message, cmd, args)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user