This commit is contained in:
2024-09-19 12:51:43 +02:00
parent d3ac0ed0b1
commit 12efaceaf6
+2 -2
View File
@@ -145,9 +145,9 @@ class Transcriber(commands.Cog):
voice_client = self.bot.voice_clients[0]
if not voice_client.is_connected():
logger.info("Connecting to voice")
vc = await ctx.author.voice.channel.connect(cls=voice_recv.VoiceRecvClient)
voice_client = await ctx.author.voice.channel.connect(cls=voice_recv.VoiceRecvClient)
voice_client.listen(self.wsink)
logger.info("Connected")
vc.listen(self.wsink)
@commands.command(name="stop_transcribe")
async def stop(self, ctx):