mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +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__()
|
||||
|
||||
self._file: wave.Wave_write = wave.open(destination, 'wb')
|
||||
@@ -70,7 +70,7 @@ class SRBuffer(voice_recv.AudioSink):
|
||||
|
||||
class Transcriber(commands.Cog):
|
||||
def __init__(self, bot):
|
||||
def callback(user, data: voice_recv.VoiceData):
|
||||
def callback(user, data):
|
||||
logger.info(f"Got packet from {user}")
|
||||
|
||||
self.bot = bot
|
||||
|
||||
Reference in New Issue
Block a user