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