Discord bot going offline


Hi, im just notice that my discord bot got offline with the same error:

SyntaxError: Unexpected end of JSON input

at JSON.parse (<anonymous>)

at /etc/service/watcher/source/app-picker.js:107:37

at ChildProcess.exithandler (child_process.js:267:7)

at emitTwo (events.js:126:13)

at ChildProcess.emit (events.js:214:7)

at maybeClose (internal/child_process.js:925:16)

at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

My discord bot name: momo-el-bot-1-0-0


Your watch.json file is missing a closing curly brace: }


omg… well, that happen to me, for moving things at 2 am. Thanks a lot.


Omg, cant believe thaat even I got that bracket missing. What a coincident!:joy::joy:


Help, my bot goes offline too. Can i know what the watch.json thing is? Please it took me months to make my bot and i dont want it offline. It means a lot to me. It could potentially be the begging of a real passion and i dont want to waste it like this. Please tell me what it is. I beg you


Are you seeing any error messages in the logs?


How do i do the watch.json thing. It stays online like 10 min and goes offline


And i dont know as the page is refreshed


please help me it took me months to create. now that i managed to put it on glitch i just want it to be online. plis help me


Watch.json is a way of changing which files trigger restarts or installs when they’re edited - it doesn’t help keeo your project awake. See this response to your thread about how to do that: My discord bot goes offline