ChainSword20000
DIAdiscord.js - Imagine an app
•Created by ChainSword20000 on 10/4/2024 in #djs-questions
Range Error Shard 0 not found
also, we found the very source of the error. there was another bot running on the same machine that was working, and then there was the one that was erroring. I don't know exactly how that caused it, but for future, could you handle errors like that with better error messages?
10 replies
DIAdiscord.js - Imagine an app
•Created by ChainSword20000 on 10/4/2024 in #djs-questions
Range Error Shard 0 not found
its the discord bot for another server I am in. I'm not even a mod in the server, but I am working on getting involved with the bot. the bot is sending this error and I've been asked to look into it. I am telling them about how I am unable to reproduce the error, and asking them to look into it further, but the person who actually hosts the machine with the bot only has a limited availability.
10 replies
DIAdiscord.js - Imagine an app
•Created by ChainSword20000 on 10/4/2024 in #djs-questions
Range Error Shard 0 not found
also, for further info, I am restricted unable to access the production instance directly, I've got to figure out how to replicate it and/or fix it on my machine without having to do 25 tests on the production machine.
10 replies
DIAdiscord.js - Imagine an app
•Created by ChainSword20000 on 10/4/2024 in #djs-questions
Range Error Shard 0 not found
just tested, if I put client.login() in a timeout in the main script then it sends a different error, its possible it is a part of the issue, but just doing that does not reproduce the error on my development instance.
10 replies
DIAdiscord.js - Imagine an app
•Created by ChainSword20000 on 10/4/2024 in #djs-questions
Range Error Shard 0 not found
if it is asyncronous it may explain why on my machine it would log in before it calls the setInterval whereas on production it's speed is such that it calls setinterval before being logged in if such is the case.
10 replies
DIAdiscord.js - Imagine an app
•Created by ChainSword20000 on 10/4/2024 in #djs-questions
Range Error Shard 0 not found
based on what I'm understanding of it, the main script initializes the bot and within that initialization it loads all the modules, and loads their clockwork, running this setinterval, and then on that next line in the main script it runs login. I am not sure if it is syncronous or not.
10 replies
DIAdiscord.js - Imagine an app
•Created by ChainSword20000 on 10/4/2024 in #djs-questions
Range Error Shard 0 not found
it doesn't seem to be possible unless something really weird broke...
10 replies
DIAdiscord.js - Imagine an app
•Created by ChainSword20000 on 10/4/2024 in #djs-questions
Range Error Shard 0 not found
[email protected]
node version v21.7.3
10 replies