From 51686ff8ee115be3d7e4ce7004e65498b17d17fd Mon Sep 17 00:00:00 2001 From: Siphalor Date: Thu, 7 Oct 2021 12:34:58 +0200 Subject: [PATCH] Fix an issue with oching anyone --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index d7414ac..5f3a193 100644 --- a/bot.py +++ b/bot.py @@ -145,7 +145,7 @@ async def on_message(message: discord.Message): matches.append(member) if matches and voice is not None: - source, destroy_tts = await text_to_speech(message.content) + source, destroy_tts = text_to_speech(message.content) voice_protocol: Optional[discord.VoiceProtocol] = await connect_and_play(voice, source) async def _mute(m: discord.Member):