This commit is contained in:
2024-09-17 16:15:03 +02:00
parent b6cb5e03b7
commit 6dd0e1865d
+3 -1
View File
@@ -73,7 +73,9 @@ class Transcriber(commands.Cog):
logger.info("Attempt transcribe")
vc = await ctx.author.voice.channel.connect(cls=voice_recv.VoiceRecvClient)
logger.info("Connected")
vc.listen(voice_recv.BasicSink(callback))
#basic = voice_recv.BasicSink(callback)
sink = voice_recv.WaveSink(destination="Test.wav")
vc.listen(sink)
@commands.command(name="stop_transcribe")
async def stop(self, ctx):