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
I am currently using this to join a voice channel and play back audio, but I am getting the error "TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received type number (73)"
As a sanity check I logged my buffer which of course was indeed a buffer, what am I doing wrong?
Output:
8 replies