3 Replies
I have tested the code from https://discord.js.org/docs/packages/core/0.6.0
discord.js
discord.js
discord.js is a powerful Node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.
It looks like this is a hole in our node.js emulation. Would you mind filing an issue for this?
https://github.com/denoland/deno/blob/e1be2bb80d2c9e7f56221d53349cdcea6d76ddde/ext/node/polyfills/http.ts#L503
GitHub
deno/http.ts at e1be2bb80d2c9e7f56221d53349cdcea6d76ddde · denoland...
A modern runtime for JavaScript and TypeScript. Contribute to denoland/deno development by creating an account on GitHub.
GitHub
Error: Not implemented: ClientRequest.options.createConnection · Is...
import tls from 'node:tls' import https from 'node:https' import net from 'node:net' function tlsConnect(options) { options.path = undefined; if (!options.servername &&a...