Ask coding questions

← Back to all posts
Won’t wake up
SyperVR (0)

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

Comments
hotnewtop
SixBeeps (5629)

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.

SyperVR (0)

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

SixBeeps (5629)

@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.

SyperVR (0)

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