discord js compatible with deno ?

at startup, it writes the following error:
Warning: Not implemented: ClientRequest.options.createConnection
error: Uncaught (in promise) Error: Invalid WebSocket frame: invalid UTF-8 sequence
Warning: Not implemented: ClientRequest.options.createConnection
error: Uncaught (in promise) Error: Invalid WebSocket frame: invalid UTF-8 sequence
fenbread
2 Replies
d.js toolkit
d.js toolkit12mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - 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! - Marked as resolved by staff
-
-OP12mo ago
👀 1. when I try to turn on my bot with the command deno run -A index.js 2. npm:discord.js Okay, hopefully there will be normal deno support in the future. I'll try, thanks Do you really think I haven't tried to find a solution? I tried it didn't help (on the second link) In general, I give up using such crutches. And I will wait for the normal support of deno
Want results from more Discord servers?
Add your server