Skip to content

Commit

Permalink
this is handled elseware
Browse files Browse the repository at this point in the history
  • Loading branch information
mralext20 committed Jul 13, 2024
1 parent 938c239 commit 2f60d84
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion alexBot/cogs/voiceTTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ async def vc_tts(self, interaction: discord.Interaction, model: str):
await interaction.response.send_message("ended your voice tts session.", ephemeral=True)
if len(self.runningTTS[interaction.guild_id].users) == 0:
await self.runningTTS[interaction.guild_id].voiceClient.disconnect()
del self.runningTTS[interaction.guild_id]
return
if interaction.user.voice.channel.id != self.runningTTS[interaction.guild_id].voiceClient.channel.id:
await interaction.response.send_message(
Expand Down

0 comments on commit 2f60d84

Please sign in to comment.