Comments (5)
Related to #10042
discord.js/packages/util/src/functions/runtime.ts
Lines 3 to 14 in 278396e
from discord.js.
Don't think so, it looks like the code still needs to be updated to support native WebSockets on Node, that PR focused on Deno and Bun support
from discord.js.
Oh nice! I didn't know about that one. Is it worth closing this issue then?
from discord.js.
ws
is faster
from discord.js.
This is something I'll tackle sometime in the future. As it stands, the global ws is still experimental, and not as battle tested as ws
(the npm package).
Maybe after we see the Autobahn tests results for it, as well as some performance comparisons, we can add it in as the defacto implementation used for newer node versions.
As it stands tho, if you really wanna try it out, you can fake that you're in bun/deno by setting that property in globalThis.process.versions
property but you're on your own from then on (with that said I'd still love to hear if/what breaks when using node's global ws implementation, so poke me on discord @vladdy
in a thread in the discord server)
from discord.js.
Related Issues (20)
- Poll not being created on slash command interaction HOT 4
- `ActionRowBuilder<T>` does not enforce the type of the components to be `T` HOT 1
- Include which users answered what on the finished polls on the payload HOT 2
- Cannot use module due to version upgrading HOT 2
- Ban Appeal
- addChoices in RoleSelectMenuBuilder or in addRoleOption (SlashCommandRoleOption) HOT 1
- Redis ReplyError when pulling with xreadgroup on empty subscribed events HOT 2
- Add `reason` to follow announcement channel endpoint
- Have event handler callbacks support both async/sync methods HOT 3
- No definition found for the 'commands' property HOT 1
- Ambiguous event names: LinkTags and Anchors
- Only messages are allowed to create polls HOT 1
- Merged interfaces from package overview 404.
- Inaccurate typings for GuildMember#partial
- `Message#fetchReference()` returns a non-message on certain message types
- @discordjs/voice not working with Bun HOT 1
- fix MessagePayload.js to send voice message
- TypeError in GuildDeleteAction.handle when Destroying Voice Adapter HOT 13
- Bot send embed messages twice or even triple times after being not used for a while HOT 15
- Raw audio stream with AudioPlayer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord.js.