How can i loop an audio resource?
I've tried this But i got an error saying
Error: Cannot play a resource that has already ended.
4 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
npm list discord.js
[email protected] /home/edoardo/Desktop/Ammiragli
├─┬ [email protected]
│ └── [email protected] deduped
└── [email protected]
node -v
v19.4.0
full Error:
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
So I'm making a support voice channel
really?
createAudioResource(createReadStream('IMG_1792.ogg'))
do i have to use createReadStream or notwhat I 've found on https://discordjs.guide/voice/audio-resources.html#playing-opus-streams
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
it says to put inputType
but typescript says that the object doesn't have this property