Lolo
Lolo
Explore posts from servers
DIAdiscord.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
| => Bot: Ayako#6768 / 650691698409734151
| => Cluster: 1
| => Shards: 1, 2, 3
| Login at 2/27/2024, 11:39:56 AM
0 [WS => Shard 0] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 0] Heartbeat acknowledged, latency of 1868ms.
142537 [WS => Shard 2] First heartbeat sent, starting to beat every 41250ms
144573 [WS => Shard 0] Destroying shard
Reason: Got disconnected by Discord
Code: 1000
Recover: Reconnect
144573 [WS => Shard 0] Connection status during destroy
Needs closing: false
Ready state: 3
144573 [WS => Shard 1] Destroying shard
Reason: Got disconnected by Discord
Code: 1000
Recover: Reconnect
144573 [WS => Shard 1] Connection status during destroy
Needs closing: false
Ready state: 3
144574 [WS => Shard 2] Destroying shard
Reason: Got disconnected by Discord
Code: 1000
Recover: Reconnect
144574 [WS => Shard 2] Connection status during destroy
Needs closing: false
Ready state: 3
145827 [WS => Shard 0] Connecting to wss://gateway.discord.gg?v=10&encoding=json
145827 [WS => Shard 0] Waiting for event hello for 60000ms
145830 [WS => Shard 1] Connecting to wss://gateway.discord.gg?v=10&encoding=json
145830 [WS => Shard 1] Waiting for event hello for 60000ms
145832 [WS => Shard 2] Connecting to wss://gateway.discord.gg?v=10&encoding=json
145832 [WS => Shard 2] Waiting for event hello for 60000ms
[Shard 1] Reconnecting...
[Shard 2] Reconnecting...
[Shard 3] Reconnecting...
148389 [WS => Shard 0] Preparing first heartbeat of the connection with a jitter of 0.4734907018343779; waiting 19531ms
148389 [WS => Shard 0] Waiting for identify throttle
148392 [WS => Shard 1] Preparing first heartbeat of the connection with a jitter of 0.7751128394603057; waiting 31973ms
148392 [WS => Shard 1] Waiting for identify throttle
148394 [WS => Shard 2] Preparing first heartbeat of the connection with a jitter of 0.543816949288016; waiting 22432ms
148394 [WS => Shard 2] Waiting for identify throttle
148429 [WS => Shard 0] Identifying
shard id: 0
shard count: 3
intents: 3260159
compression: none
148429 [WS => Shard 0] Waiting for event ready for 15000ms
154407 [WS => Shard 0] Shard received all its guilds. Marking as fully ready.
154644 [WS => Shard 1] Identifying
shard id: 1
shard count: 3
intents: 3260159
compression: none
154644 [WS => Shard 1] Waiting for event ready for 15000ms
[Shard 1] Ready Unavailable Guilds: 0
159421 [WS => Shard 1] Shard received all its guilds. Marking as fully ready.
[Shard 2] Ready Unavailable Guilds: 0
160670 [WS => Shard 2] Identifying
shard id: 2
shard count: 3
intents: 3260159
compression: none
160670 [WS => Shard 2] Waiting for event ready for 15000ms
165721 [WS => Shard 2] Shard received all its guilds. Marking as fully ready.
[Shard 3] Ready Unavailable Guilds: 0
167929 [WS => Shard 0] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 0] Heartbeat acknowledged, latency of 109ms.
170834 [WS => Shard 2] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 2] Heartbeat acknowledged, latency of 109ms.
180414 [WS => Shard 1] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 1] Heartbeat acknowledged, latency of 159ms.
[WS => Shard 0] Heartbeat acknowledged, latency of 124ms.
[WS => Shard 2] Heartbeat acknowledged, latency of 110ms.
| => Bot: Ayako#6768 / 650691698409734151
| => Cluster: 1
| => Shards: 1, 2, 3
| Login at 2/27/2024, 11:39:56 AM
0 [WS => Shard 0] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 0] Heartbeat acknowledged, latency of 1868ms.
142537 [WS => Shard 2] First heartbeat sent, starting to beat every 41250ms
144573 [WS => Shard 0] Destroying shard
Reason: Got disconnected by Discord
Code: 1000
Recover: Reconnect
144573 [WS => Shard 0] Connection status during destroy
Needs closing: false
Ready state: 3
144573 [WS => Shard 1] Destroying shard
Reason: Got disconnected by Discord
Code: 1000
Recover: Reconnect
144573 [WS => Shard 1] Connection status during destroy
Needs closing: false
Ready state: 3
144574 [WS => Shard 2] Destroying shard
Reason: Got disconnected by Discord
Code: 1000
Recover: Reconnect
144574 [WS => Shard 2] Connection status during destroy
Needs closing: false
Ready state: 3
145827 [WS => Shard 0] Connecting to wss://gateway.discord.gg?v=10&encoding=json
145827 [WS => Shard 0] Waiting for event hello for 60000ms
145830 [WS => Shard 1] Connecting to wss://gateway.discord.gg?v=10&encoding=json
145830 [WS => Shard 1] Waiting for event hello for 60000ms
145832 [WS => Shard 2] Connecting to wss://gateway.discord.gg?v=10&encoding=json
145832 [WS => Shard 2] Waiting for event hello for 60000ms
[Shard 1] Reconnecting...
[Shard 2] Reconnecting...
[Shard 3] Reconnecting...
148389 [WS => Shard 0] Preparing first heartbeat of the connection with a jitter of 0.4734907018343779; waiting 19531ms
148389 [WS => Shard 0] Waiting for identify throttle
148392 [WS => Shard 1] Preparing first heartbeat of the connection with a jitter of 0.7751128394603057; waiting 31973ms
148392 [WS => Shard 1] Waiting for identify throttle
148394 [WS => Shard 2] Preparing first heartbeat of the connection with a jitter of 0.543816949288016; waiting 22432ms
148394 [WS => Shard 2] Waiting for identify throttle
148429 [WS => Shard 0] Identifying
shard id: 0
shard count: 3
intents: 3260159
compression: none
148429 [WS => Shard 0] Waiting for event ready for 15000ms
154407 [WS => Shard 0] Shard received all its guilds. Marking as fully ready.
154644 [WS => Shard 1] Identifying
shard id: 1
shard count: 3
intents: 3260159
compression: none
154644 [WS => Shard 1] Waiting for event ready for 15000ms
[Shard 1] Ready Unavailable Guilds: 0
159421 [WS => Shard 1] Shard received all its guilds. Marking as fully ready.
[Shard 2] Ready Unavailable Guilds: 0
160670 [WS => Shard 2] Identifying
shard id: 2
shard count: 3
intents: 3260159
compression: none
160670 [WS => Shard 2] Waiting for event ready for 15000ms
165721 [WS => Shard 2] Shard received all its guilds. Marking as fully ready.
[Shard 3] Ready Unavailable Guilds: 0
167929 [WS => Shard 0] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 0] Heartbeat acknowledged, latency of 109ms.
170834 [WS => Shard 2] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 2] Heartbeat acknowledged, latency of 109ms.
180414 [WS => Shard 1] First heartbeat sent, starting to beat every 41250ms
[WS => Shard 1] Heartbeat acknowledged, latency of 159ms.
[WS => Shard 0] Heartbeat acknowledged, latency of 124ms.
[WS => Shard 2] Heartbeat acknowledged, latency of 110ms.
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 ThumbsUp
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 nodemon
10 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?
Thumbsup
4 replies