Cannot play audio as no valid encryption package is installed
I literally have sodium, libsodium and libsodium-wrappers installed and yet it still throws this damn error.
28 Replies
Unknown Userโข3y ago
Message Not Public
Sign In & Join Server To View
what you didnโt get in the error?
itโs literally written to install
libsodium-wrappers
Unknown Userโข3y ago
Message Not Public
Sign In & Join Server To View
ah yeah it points to .mjs file not .js
mb
npm i @discordjs/[email protected]
am using v14
aight let me try it out
rn it doesn't throw that error but now the audio isn't even played and no errors at all ๐ถ
I guess the package is broken?
show the code
Unknown Userโข3y ago
Message Not Public
Sign In & Join Server To View
Way ahead of that and error still persists ๐ฅฒ
Unknown Userโข3y ago
Message Not Public
Sign In & Join Server To View
๐
Thanks for the help too ๐๐ฝ
Unknown Userโข2y ago
Message Not Public
Sign In & Join Server To View
Idk when this issue will be solved
in the next release
You have to create a readable stream using fs first:
Since when and if so, why wasn't it mentioned or directed anywhere?! ๐คจ
This is all I see
ah
well there was a new release that fixes your original issue
Ohh alright I'll check it out. Thanks for the heads up!
Since 25 Feb 2022,
https://discordjs.guide/voice/audio-resources.html#cheat-sheet
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
There's no proper guide anywhere you just have to try out all ways tbh..
didn't use /voice for a while but I know someone that used that: https://discordjs.github.io/voice/modules.html
No i mean discordjs keeps updating every 3-6months so guides generally don't update asap, and it becomes kind of necessary to keep contacting people who know or have faced and fixed it instead :)
the sheet you're showing literally contradicts your point of having to use a readstream
?
Alr ๐