We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aafaa5 commit 3890460Copy full SHA for 3890460
discord/sinks/wave.py
@@ -23,6 +23,7 @@
23
"""
24
25
import wave
26
+from io import BytesIO
27
28
from ..opus import Decoder as OpusDecoder
29
from .core import Filters, Sink, default_filters
@@ -59,7 +60,6 @@ def format_audio(self, audio):
59
60
raise WaveSinkError(
61
"Audio may only be formatted after recording is finished."
62
)
- from io import BytesIO
63
64
# Read existing PCM data before overwriting
65
audio.file.seek(0)
0 commit comments