Fix an issue with oching anyone

This commit is contained in:
2021-10-07 12:34:58 +02:00
parent 102b52e8fe
commit 51686ff8ee

2
bot.py
View File

@@ -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):