sean
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by dev_panda on 10/2/2024 in #djs-questions
Bot Appearing Offline on Some Shards
Hybrid does nothing more than spawing a child process or worker process of your index.js after that you specify
shards
and shardCount
in the client construcutre its really just a process manager in order to cluster your bot based on internal sharding nothing more so a basic reproduction would be a ton of child processes with
shardCount: 8
shardIds: [0, 1, 2, 3, 4, 5, 6, 7]
and change the shardIds with the next pair if you want to try to reproduce it with djs/ws
The thing is this issue as you already said only comes some times every few months, myself I cannot reproduce that with a over 1300 shards bot nor with a 14 shards bot. Most users that have this issue ignore it until it just dosnt happen anymore.
side info which isnt that important
Hybird spawns a worker with
and a child process with
53 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
but still thanks for your help tho
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
its from a old part of the bot I use collections from djs and was to lazy to require /collections xD
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
idk why but my npm likes to install old versions when I dont add @latest at the end
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
Yep had the same reaction
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
check here the version of rest I installed...
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
It works now
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
omg....
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
18.12.0
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
bcs if yes then I really dont know whats wrong <a:cry_cat:777955315291127829>
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
its this pos of the code that currently errors isnt it? https://github.com/discordjs/discord.js/blob/main/packages/rest/src/lib/REST.ts#L359
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
yeah still same xd
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
I cant really do much with the error since I defined name
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
yeah would just do it for debugging tho
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
I would now add a console log at the resolveRequest but this minified dist is annoying
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
🤔
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
46 replies
DIAdiscord.js - Imagine an app
•Created by sean on 12/2/2023 in #djs-questions
Sending Images with djs/rest
sure
46 replies