Closed Probabilities closed 3 weeks ago
To prevent errors like this from happening again in the future, I will preinstall tweetnacl just like in discord.js v12.
how do I fix?
as she said, do npm i tweetnacl
(it worked for me)
Because Discord has made some updates to the RTP header in the payload, it means that tweetnacl no longer works. Use sodium or libsodium-wrappers as a replacement.
Which package has the bugs?
The core library
Issue description
Just run the code and it will throw the error.
Code sample
Package version
3.3.0
Node.js version
18.0.0
Operating system
Windows 10
Priority this issue should have
High (immediate attention needed)
Checklist
Additional Information
No response