diff options
Diffstat (limited to 'cogs')
| -rw-r--r-- | cogs/vclogs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cogs/vclogs.py b/cogs/vclogs.py index a9672ac..50c3fa7 100644 --- a/cogs/vclogs.py +++ b/cogs/vclogs.py | |||
| @@ -72,7 +72,8 @@ class VcLogs(commands.Cog): | |||
| 72 | voice_client.play(audio_source) | 72 | voice_client.play(audio_source) |
| 73 | while voice_client.is_playing(): | 73 | while voice_client.is_playing(): |
| 74 | await discord.utils.sleep_until(datetime.datetime.now() + datetime.timedelta(seconds=1)) | 74 | await discord.utils.sleep_until(datetime.datetime.now() + datetime.timedelta(seconds=1)) |
| 75 | os.remove('temp_tts.mp3') | 75 | if os.path.exists('temp_tts.mp3'): |
| 76 | os.remove('temp_tts.mp3') | ||
| 76 | 77 | ||
| 77 | @commands.slash_command( | 78 | @commands.slash_command( |
| 78 | name="log_volume" | 79 | name="log_volume" |
