Paige
DIAdiscord.js - Imagine an app
•Created by Paige on 11/12/2023 in #djs-voice
TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buff
Yeah I figured that out after reading the source code haha
8 replies
DIAdiscord.js - Imagine an app
•Created by Paige on 11/12/2023 in #djs-voice
TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buff
(It ended up working with file path, it was simply unclear that I was missing an intent there.. however the buffer method still isn't working, and throws the same error, I also did try making the buffer into a UInt8Array)
8 replies
DIAdiscord.js - Imagine an app
•Created by Paige on 11/12/2023 in #djs-voice
TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buff
(I tried replacing the buffer for a file path, which no longer gave an error but also didn't play anything back)
8 replies
DIAdiscord.js - Imagine an app
•Created by Paige on 11/12/2023 in #djs-voice
TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buff
node: v20.6.1
djs: @14.13.0
@djs/voice: @0.16.0
8 replies