mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-19 16:22:10 +00:00
Fix
This commit is contained in:
@@ -159,7 +159,14 @@ class Transcriber(commands.Cog):
|
||||
async def test(self, ctx):
|
||||
logger.info("Attempt transcribe")
|
||||
vc = None
|
||||
if self.bot.voice_clients:
|
||||
if isinstance(self.bot.voicce_clients[0], voice_recv.VoiceRecvClient):
|
||||
logger.info("Already transcribing")
|
||||
else:
|
||||
logger.info("Already connected with other client")
|
||||
logger.info(self.bot.voice_clients)
|
||||
|
||||
else:
|
||||
logger.info("Connected")
|
||||
vc = await ctx.author.voice.channel.connect(cls=voice_recv.VoiceRecvClient)
|
||||
logger.info(self.bot.voice_clients)
|
||||
|
||||
Reference in New Issue
Block a user