DD
DD
DIAdiscord.js - Imagine an app
Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
ideally you should find your own way of centralizing data
91 replies
DIAdiscord.js - Imagine an app
Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
no, broadcastEval is a pretty bad pattern overall that will hopefully be getting phased out in the future
91 replies
DIAdiscord.js - Imagine an app
Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
main is the default and we just merged a PR that makes it so ws doesn't take a REST instance anymore
91 replies
DIAdiscord.js - Imagine an app
Created by Jonah on 2/6/2025 in #djs-questions
Issue with @discordjs/ws sharding
re the docs, pay attention to the version you're looking at
91 replies
DIAdiscord.js - Imagine an app
Created by PogPEGA on 12/9/2024 in #djs-questions
Questions about @discordjs/proxy
for general use we recommend just using our Docker container
11 replies
DIAdiscord.js - Imagine an app
Created by PogPEGA on 12/9/2024 in #djs-questions
Questions about @discordjs/proxy
@discordjs/proxy isn't all that useful unless you're doing something fancy, like a proxy that caches (something I've written before)
11 replies
DIAdiscord.js - Imagine an app
Created by PogPEGA on 12/9/2024 in #djs-questions
Questions about @discordjs/proxy
we strip them to basically make the REST instance using the proxy think there's no ratelimits, which lets it take some faster codepaths by not calculating all those things
11 replies
DIAdiscord.js - Imagine an app
Created by PogPEGA on 12/9/2024 in #djs-questions
Questions about @discordjs/proxy
you're doubling the handling of the ratelimit that way
11 replies
DIAdiscord.js - Imagine an app
Created by PogPEGA on 12/9/2024 in #djs-questions
Questions about @discordjs/proxy
which would be pointless
11 replies
DIAdiscord.js - Imagine an app
Created by PogPEGA on 12/9/2024 in #djs-questions
Questions about @discordjs/proxy
if we didn't strip them, the REST client on the other end (either one in another language or ours if you're using discord.js anyway) would see them and also account for them
11 replies
DIAdiscord.js - Imagine an app
Created by PogPEGA on 12/9/2024 in #djs-questions
Questions about @discordjs/proxy
we get that Response from proxy's REST instance (which DID read them and DID use them to account for the ratelimit)
11 replies
DIAdiscord.js - Imagine an app
Created by PogPEGA on 12/9/2024 in #djs-questions
Questions about @discordjs/proxy
well, let's get into what you said
11 replies
DIAdiscord.js - Imagine an app
Created by c.ix on 11/26/2024 in #djs-questions
Managing Internal Queues
yeah just use this option and implement your own re-queue in your catch
11 replies
DIAdiscord.js - Imagine an app
Created by c.ix on 11/26/2024 in #djs-questions
Managing Internal Queues
1. Yes, rejectOnRateLimit 2. No 3. Mostly* no
11 replies
DIAdiscord.js - Imagine an app
Created by dev_panda on 10/2/2024 in #djs-questions
Bot Appearing Offline on Some Shards
:meguFace:
53 replies
DIAdiscord.js - Imagine an app
Created by dev_panda on 10/2/2024 in #djs-questions
Bot Appearing Offline on Some Shards
literally the debug event
53 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
no, I just meant heartbeats dont go to debug :jynEHEH:
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
there's a HeartbeatComplete event
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
those aren't debug logs
28 replies