Dual Hosting

Hi, would there be an easy way to detect if your bot is being dual hosted?
11 Replies
d.js toolkit
d.js toolkitβ€’3mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Syjalo
Syjaloβ€’3mo ago
What do you mean by dual hosted?
Bacio001
Bacio001OPβ€’3mo ago
As in 2 instances of a bot with the same token are online
NyR
NyRβ€’3mo ago
It's your bot. So you should know if you are dual hosting or not. But if for some reason, you are unsure. Just reset the token
Bacio001
Bacio001OPβ€’3mo ago
I get that part, but I would like to make a way to detect it.
Syjalo
Syjaloβ€’3mo ago
There's no way, unless you track that yourself or ask Discord
CHIMKEN NUGGLES πŸˆπŸ—
If you get a response twice, you’re dual hosting For slash commands you can only reply once, so the second host will crash, but here fir example the response is sent twice
No description
lupus
lupusβ€’3mo ago
If you host it on two different hosts (and you always use those) you could try implementing some mechanism outside of the discord API, but other than that it’s mostly just guesswork.
Amgelo
Amgeloβ€’3mo ago
are you trying to detect whether your token was stolen?
Bacio001
Bacio001OPβ€’3mo ago
That would be one of the reasons + I just wanted to try and make a detector
Syjalo
Syjaloβ€’3mo ago
There's no way to detect if your token was stolen, unless you see suspicious actions of your bot

Did you find this page helpful?