Skip to content
← Back to Community
Won’t wake up
Profile icon
SyperVR

I’m using uptime robot to run my discord bot but repl won’t wake up, help!

Voters
Profile icon
SyperVR
Comments
hotnewtop
Profile icon
SixBeeps

That's cause you have your server code in a file named sevrer.js but you're requiring it as server in your bot. Require needs these to be the same name, so rename that file to server.js.

Profile icon
SyperVR

yea i saw my mistake and fixed it now but it still says waking up
@SixBeeps

Profile icon
SixBeeps

@SyperVR Now there's an error in your code. Looks like you slammed your keyboard and put its contents at the end of index.js.

Profile icon
SyperVR

Yea that was a complete accident but still haven’t fixed my issue repl won’t wake up at [email protected]