My bot works fine when running on my pc, but when I deploy it to heroku, it can't speak. It connects on the channel but doesn't speak, and I get no errors on the console.
const { generateDependencyReport } = require('@discordjs/voice');
console.log(generateDependencyReport());
Running this code on heroku I get this output.
Core Dependencies
- @discordjs/voice: 0.11.0
- prism-media: 1.3.4
Opus Libraries
- @discordjs/opus: 0.8.0
- opusscript: not found
Encryption Libraries
- sodium-native: not found
- sodium: 3.0.2
- libsodium-wrappers: 0.7.10
- tweetnacl: not found
FFmpeg
- version: 5.0.1-static https://johnvansickle.com/ffmpeg/
- libopus: yes
Can someone help me?