forked from Elijah/AudioBot
Fix build error caused by line 114
Effectively make it ignore the nonexistent problem? idk
This commit is contained in:
parent
6eec4e6829
commit
4c291ac25a
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ main();
|
||||||
function audioStream() {
|
function audioStream() {
|
||||||
if (!audioprc) return;
|
if (!audioprc) return;
|
||||||
stream = new MemoryStream();
|
stream = new MemoryStream();
|
||||||
audioprc.stdout.pipe(stream);
|
audioprc.stdout.pipe(stream as unknown as NodeJS.WritableStream);
|
||||||
player.play(createAudioResource(stream, {
|
player.play(createAudioResource(stream, {
|
||||||
inputType: StreamType.Raw,
|
inputType: StreamType.Raw,
|
||||||
inlineVolume: false
|
inlineVolume: false
|
||||||
|
|
Loading…
Reference in a new issue