From 4c291ac25ae08423acb06114516cf66a1aa31073 Mon Sep 17 00:00:00 2001 From: spy Date: Tue, 30 Jul 2024 16:43:37 -0400 Subject: [PATCH] Fix build error caused by line 114 Effectively make it ignore the nonexistent problem? idk --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 9dd5832..a686f22 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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