Custom Bots
Hey guys my Question is I currently build a custom bot module for my main bot I have all done I only think about what I should do when the token of a custom bot gets invalid. Means I want to directly stop the process when this gonna happen to prevent a not needed memory leak
14 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.I already have the check done when I login in a custom bot my point is now only.
When a user for example change the token and the custom bot already started it will drop some errors cuz of invalid token obv and I need to get this handled good
Let me ask on the ddev discord what is about custom bots...
🤔
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
let me ask again if it’s okay to ask for the token for custom bots..
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I mean dont forget its not "ask" its a field where you need to put the token else we coudlnt start a bot over the custom bot obv
And if this is not allowed than i cant understand why so many bots can do that without getting deleted
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
The "People" that told me this arent staffs from dc or member of dc
And I can just say that again
if this is not allowed to do how can bots do that without getting deleted
Explain me this
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Soul Music, Sapphire, Mee6, Bump Reminder and and and so much bots that do this without getting deleted and also
What I need and why I did this
Is to ask what is the best way to detect a invalid token in the running proccess
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
dont try to help when you dont know any awnser
as I said this didnt was the point of this here
The thing what I know is when the token gets invalid the discord api drops a error this is right or not?
Okay got a response from someone that really can help me "TheDarkDiamond" I dont need your help anymore.