Abel P.
Abel P.
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
Ohhh
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
Is it possible to do this in discord.js client options?
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
the thing is i need to send events to my client (discord.js) that is connected to the proxy or itll end up doing: https://hastebin.blackforthosting.com/alutakamec.yaml
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
my client destroys the websocket since it thinks hello not received
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
oh
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
{ ackAt: 1730468366446, heartbeatAt: 1730468366384, latency: 62 } 0
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
my proxy heartbeat completes though
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
those logs from my client
import BotClient from "../../structures/Client";
import { Logger } from "../../utils/logger";

export = {
name: "debug",
run: async (client: BotClient, data: string) => {
Logger.log(data, "debug");
},
};
import BotClient from "../../structures/Client";
import { Logger } from "../../utils/logger";

export = {
name: "debug",
run: async (client: BotClient, data: string) => {
Logger.log(data, "debug");
},
};
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
still dont get the heartbeat logs
[01-11-2024 09:31:20]: [READY] Cluster 0 is ready
[01-11-2024 09:32:17]: [DEBUG] [WS => Shard 0] Destroying shard
Reason: Something timed out or went wrong while waiting for an event
Code: 1000
Recover: Reconnect
[01-11-2024 09:32:17]: [DEBUG] [WS => Shard 0] Connection status during destroy
Needs closing: true
Ready state: 1
[01-11-2024 09:32:17]: [DEBUG] [WS => Shard 0] Connecting to ws://localhost:8080?v=10&encoding=json
[01-11-2024 09:32:17]: [DEBUG] [WS => Shard 0] Waiting for event hello for 60000ms
[01-11-2024 09:32:18]: [DEBUG] [WS => Shard 0] Shard received all its guilds. Marking as fully ready.
[01-11-2024 09:32:18]: [DEBUG] [WS => Shard 0] Resumed and replayed 0 events
[01-11-2024 09:31:20]: [READY] Cluster 0 is ready
[01-11-2024 09:32:17]: [DEBUG] [WS => Shard 0] Destroying shard
Reason: Something timed out or went wrong while waiting for an event
Code: 1000
Recover: Reconnect
[01-11-2024 09:32:17]: [DEBUG] [WS => Shard 0] Connection status during destroy
Needs closing: true
Ready state: 1
[01-11-2024 09:32:17]: [DEBUG] [WS => Shard 0] Connecting to ws://localhost:8080?v=10&encoding=json
[01-11-2024 09:32:17]: [DEBUG] [WS => Shard 0] Waiting for event hello for 60000ms
[01-11-2024 09:32:18]: [DEBUG] [WS => Shard 0] Shard received all its guilds. Marking as fully ready.
[01-11-2024 09:32:18]: [DEBUG] [WS => Shard 0] Resumed and replayed 0 events
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
ohh
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
I just read the readme I’ll do some changes
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
I’m trying to achieve zero downtime deploys so my gateway stays online and my client can go off and come back on after few mins to continue I’ll be honest I was not using the package before that’s why all of that there and no I didn’t look at the readme
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
So @discordjs/ws does all that automatically?
28 replies
DIAdiscord.js - Imagine an app
Created by Abel P. on 11/1/2024 in #djs-questions
Not getting hello @discordjs/ws
"dependencies": {
"@discordjs/rest": "^2.4.0",
"@discordjs/ws": "^2.0.0",
"discord-api-types": "^0.37.103",
"ws": "^8.18.0"
}
"dependencies": {
"@discordjs/rest": "^2.4.0",
"@discordjs/ws": "^2.0.0",
"discord-api-types": "^0.37.103",
"ws": "^8.18.0"
}
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