tiny fix for the audio bot #1

Merged
Elijah merged 2 commits from spy/AudioBot:master into master 2024-07-30 17:07:31 -04:00
Showing only changes of commit 4c291ac25a - Show all commits

View file

@ -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