diff options
Diffstat (limited to 'cogs/vclogs.py')
| -rw-r--r-- | cogs/vclogs.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cogs/vclogs.py b/cogs/vclogs.py index fb0a2e0..d0c4825 100644 --- a/cogs/vclogs.py +++ b/cogs/vclogs.py | |||
| @@ -104,9 +104,8 @@ class VcLogs(commands.Cog): | |||
| 104 | 104 | ||
| 105 | if voice_client: | 105 | if voice_client: |
| 106 | if is_playing: | 106 | if is_playing: |
| 107 | logger.info("voice already playing, stopping current audio") | 107 | logger.info("voice already playing, skipping TTS") |
| 108 | voice_client.stop() | 108 | return |
| 109 | await asyncio.sleep(0.1) | ||
| 110 | 109 | ||
| 111 | logger.info("preparing to play audio") | 110 | logger.info("preparing to play audio") |
| 112 | audio_source = discord.FFmpegPCMAudio(tts_file) | 111 | audio_source = discord.FFmpegPCMAudio(tts_file) |
