tiny fix for the audio bot #1
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ main();
|
|||
function audioStream() {
|
||||
if (!audioprc) return;
|
||||
stream = new MemoryStream();
|
||||
audioprc.stdout.pipe(stream);
|
||||
audioprc.stdout.pipe(stream as unknown as NodeJS.WritableStream);
|
||||
player.play(createAudioResource(stream, {
|
||||
inputType: StreamType.Raw,
|
||||
inlineVolume: false
|
||||
|
|
Loading…
Reference in a new issue