Ask coding questions

← Back to all posts
Why doesn't this start?
atteraijas

I have remade the bot, but it still does not start. Please help.

Voters
atteraijas
Comments
hotnewtop
SixBeeps

Looks like you deleted your main.js, which Replit tries to run by default. If you want to run a different file, you'll have to make a .replit file and specify the run command to execute that file.

Also, you've put your bot token in plaintext in a file for everyone to see. Please don't do that.