DarkstarDraconis
DIAdiscord.js - Imagine an app
•Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
Oh sweet, thanks!
I had switched over to using Bun, and had no problems thereafter. I'll eventually switch back to try Deno again. It looks like it was merged May 13th 🎉
39 replies
DIAdiscord.js - Imagine an app
•Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
oh interesting, thanks for this update!
Also, I'll have a closer look at Bun, I hadn't looked at it too much to date.
39 replies
DIAdiscord.js - Imagine an app
•Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
TBH I can't point at a particularly rational reason.
I'm new to the node ecosystem, and Deno's selling points seemed pretty good - built-in TS, a touch more security, built in KV store, lower memory footprint, etc.
Of course, none of this technically actually matters for the project I'm experimenting with.
Thought process kind of went: "Let's try out Deno, what could I build with it", then "Hey a Discord bot seems like a good idea". Discord.js seemed like the best option if I didn't want to write it all myself. Since the thought process started with Deno, that is likely where my resistance to ditching it comes from 😅 It's certainly not the end of the world if I can't get it working, but it would be nice if I could.
Thought process kind of went: "Let's try out Deno, what could I build with it", then "Hey a Discord bot seems like a good idea". Discord.js seemed like the best option if I didn't want to write it all myself. Since the thought process started with Deno, that is likely where my resistance to ditching it comes from 😅 It's certainly not the end of the world if I can't get it working, but it would be nice if I could.
39 replies