mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-15 14:22:13 +00:00
TR
This commit is contained in:
@@ -145,9 +145,9 @@ class Transcriber(commands.Cog):
|
|||||||
voice_client = self.bot.voice_clients[0]
|
voice_client = self.bot.voice_clients[0]
|
||||||
if not voice_client.is_connected():
|
if not voice_client.is_connected():
|
||||||
logger.info("Connecting to voice")
|
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")
|
logger.info("Connected")
|
||||||
vc.listen(self.wsink)
|
|
||||||
|
|
||||||
@commands.command(name="stop_transcribe")
|
@commands.command(name="stop_transcribe")
|
||||||
async def stop(self, ctx):
|
async def stop(self, ctx):
|
||||||
|
|||||||
Reference in New Issue
Block a user