mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
asa
This commit is contained in:
@@ -155,8 +155,6 @@ class Transcriber(commands.Cog):
|
||||
logger.info("Connected")
|
||||
vc = await ctx.author.voice.channel.connect(cls=voice_recv.VoiceRecvClient)
|
||||
logger.info(self.bot.voice_clients)
|
||||
self.output_handler.work = True
|
||||
self.output_handler.scan_loop.start()
|
||||
self.worker.start()
|
||||
vc.listen(self.wsink)
|
||||
|
||||
@@ -206,8 +204,6 @@ class Transcriber(commands.Cog):
|
||||
|
||||
@commands.command(name="stop_transcribe")
|
||||
async def stop(self, ctx):
|
||||
|
||||
self.output_handler.work = False
|
||||
self.check_data.stop()
|
||||
self.worker.stop()
|
||||
await ctx.voice_client.disconnect()
|
||||
|
||||
Reference in New Issue
Block a user