An example project to reproduce the bug in eris on Node.js v20.
Audio files being cut off while playing a pcm file, when running on Node.js v18 it works fine.
- Clone the repository
- Install the dependencies
corepack enable yarn
- Fill env
Fill the .env file with the correct values
cp .env.example .env
- Build the project
yarn build
- Run the project
yarn start
- Command list:
@<your bot> help
- This help text@<your bot> join
- Join the voice channel you are in.@<your bot> leave
- Leave the voice channel.@<your bot> play-opus
- Play the example opus file.@<your bot> play-pcm
- Play the example pcm file.