Lolo
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by Lolo on 1/16/2024 in #djs-questions
Set Presence on Identify per shard using internal sharding?
@DD hey again, just looking for a status update. Sadly I can't make time to look into this myself
18 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 2/27/2024 in #djs-questions
Client disconnects after ready, takes 1-2 minutes to reconnect every time
Alr so no easy solution, thank you. I'll start taking apart my ready event
5 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 2/27/2024 in #djs-questions
Client disconnects after ready, takes 1-2 minutes to reconnect every time
the numbers are ms since startup starting at
0 [WS => Shard 0] First heartbeat sent,
5 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 2/27/2024 in #djs-questions
Client disconnects after ready, takes 1-2 minutes to reconnect every time
5 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 1/16/2024 in #djs-questions
Set Presence on Identify per shard using internal sharding?
i mean i probably cant do it in either but want to try anyways
18 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 1/16/2024 in #djs-questions
Set Presence on Identify per shard using internal sharding?
dont think i can do it but i wanted to try anyways
assume i wont make it :pog_sheen:
may i ask why not to push to djs for now?
18 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 1/16/2024 in #djs-questions
Set Presence on Identify per shard using internal sharding?
followup:
was this actively decided against or would a PR potentially be accepted
18 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 1/16/2024 in #djs-questions
Set Presence on Identify per shard using internal sharding?
thats good
18 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 1/16/2024 in #djs-questions
Set Presence on Identify per shard using internal sharding?
sad, okay thank you
18 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 1/16/2024 in #djs-questions
Set Presence on Identify per shard using internal sharding?
so i specifically wanna do it on identify
18 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 1/16/2024 in #djs-questions
Set Presence on Identify per shard using internal sharding?
Yeah but we know that on large bots this can cause shard disconnects due to paused events and possibly missing heartbeats
18 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 11/1/2023 in #djs-questions
[TS] Nodemon x ShardingManager never emits ready
so ill drop trying to get it to work
10 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 11/1/2023 in #djs-questions
[TS] Nodemon x ShardingManager never emits ready
tho as it turns out i cant even run bot.ts with nodemon, it just doesnt emit ready either
10 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 11/1/2023 in #djs-questions
[TS] Nodemon x ShardingManager never emits ready
nah it only has 1 shard
10 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 11/1/2023 in #djs-questions
[TS] Nodemon x ShardingManager never emits ready
why dont u recommend it?
10 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 11/1/2023 in #djs-questions
[TS] Nodemon x ShardingManager never emits ready
does the sharding manager support a dev mode at all? or am i better off not using the sharding manager for development
10 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 11/1/2023 in #djs-questions
[TS] Nodemon x ShardingManager never emits ready
im aware i shouldnt, in ESM Nodemon uses a special import method that forces node to re-cache the modules using query parameters
for example
import x from 'y'
!== import x from 'y?date=1'
since i shouldnt, and dont want to, restart my shards often, i want to use nodemon to update my import statements as i code.
I also understood that using nodemon to start the sharding manager doesnt do anything, so how do i start the shards using nodemon, instead of starting the sharding manager using nodemon10 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 11/1/2023 in #djs-questions
[TS] Nodemon x ShardingManager never emits ready
if it was possible, i'd love to be able to wrap the shard code into a nodemon-like module that allows me to refresh changed files
10 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 11/1/2023 in #djs-questions
[TS] Nodemon x ShardingManager never emits ready
<a:kelly_nooo:1168852140404523109> i hate having to restart the shard just to apply a small change in dev
is there a better way to re-cache modules in ESM?
10 replies
DIAdiscord.js - Imagine an app
•Created by Lolo on 6/14/2023 in #djs-questions
Why use @discordjs/broker rather than node-redis-pubsub?
4 replies