diff --git a/lib/utils.py b/lib/utils.py index 5f22a41..1775023 100644 --- a/lib/utils.py +++ b/lib/utils.py @@ -42,7 +42,7 @@ def text_to_speech(text: str, lang: str = "de") -> (discord.AudioSource, Callabl file_name = 'temp/' + ''.join(random.choice(string.ascii_lowercase) for i in range(12)) + '.mp3' tts.save(file_name) source = discord.PCMVolumeTransformer( - discord.FFmpegPCMAudio(source=file_name, before_options='-v quiet -filter:a "atempo=1.5"') + discord.FFmpegPCMAudio(source=file_name, before_options='-v quiet', options='-filter:a "atempo=1.5"') ) def destroy():