Fix an issue with oching anyone
This commit is contained in:
2
bot.py
2
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):
|
||||
|
||||
Reference in New Issue
Block a user