mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-17 15:22:10 +00:00
Fix
This commit is contained in:
@@ -43,7 +43,7 @@ class SRBuffer(voice_recv.AudioSink):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
def __init__(self, destination: wave._File):
|
def __init__(self, destination):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
self._file: wave.Wave_write = wave.open(destination, 'wb')
|
self._file: wave.Wave_write = wave.open(destination, 'wb')
|
||||||
@@ -70,7 +70,7 @@ class SRBuffer(voice_recv.AudioSink):
|
|||||||
|
|
||||||
class Transcriber(commands.Cog):
|
class Transcriber(commands.Cog):
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
def callback(user, data: voice_recv.VoiceData):
|
def callback(user, data):
|
||||||
logger.info(f"Got packet from {user}")
|
logger.info(f"Got packet from {user}")
|
||||||
|
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|||||||
Reference in New Issue
Block a user