#Is https://bun.sh/ supported by Discord.js?
25 messages · Page 1 of 1 (latest)
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
no, it'd have to be the other way around
according to bun.sh, node:events is lacking on, which is a feature that djs employs heavily, so it's likely that bun doesn't support djs.
whatever the case though, best way to find out is to try it
👍🏻
it does
Bun claims to fully support discord.js by now. Any issues caused by running it with bun should be reported on the bun repo and will be fixed by them. They even have a dedicated page showing how to write a djs bot with bun
Bun is working perfectly fine, I'm using it
WWWWWWW
Saw an open source project using bun, you're probably fine
on voiceStateUpdate event i cant get newState, just the oldState exists in the event
while using node there is no prob tho
it happens only with bun
Can you show the code you use in bun?
i tested it with latest version of bun a minute ago, and it looks like works without problem
what i said before was happened 1 or 2 days ago
keep in mind .node / native addons dont work in bun
afaik
And what does that have to do with using discord.js in bun?
discord.js opus
canvas, bot associated native addons
they do actually
but bun build doesn't work with them
partial support afaik