Ask coding questions

← Back to all posts
Can't get it online
Grimsfury

I cannot get this bot online and have no idea why. I've never had a bot before so I don't know what I'm doing wrong. I've been stuck on it for months and all requests for help have been ignored.

Please, if anyone knows how to get this thing working, let me know what to do.

Voters
Grimsfury
Comments
hotnewtop
NoelB33

ok so, it seems like youre trying to download a package named "keep_alive.js" from NPM, not importing it.
To actually import the file, try this: https://stackoverflow.com/questions/5797852/in-node-js-how-do-i-include-functions-from-my-other-files

Grimsfury

@NoelB33 I'll be honest, this is the first bot I've ever listed, and the original programmer for it had it working. I was told all I had to do was change the token, but since then it just has not worked at all. I'll be glad to invite you if you think you can fix it. I've been stuck at this point for about 4mos