Discord bot going offline


#1

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


#2

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


#3

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


#4

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


#5

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


#6

Are you seeing any error messages in the logs?


#7

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


#8

And i dont know as the page is refreshed


#9

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


#10

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