Ask coding questions

← Back to all posts
Folder/Directory issues
LordAlfieUwU

Hello everyone, I was working on a bot last night and everything was fine. Then this morning when I tried to start the bot I was greeted with this error message:

No such file: main.py
repl process died unexpectedly: exit status 2

It starts working again once I pull the file out of the folder. However, the way I'm trying to do cogs requires the folder. Any assistance is appreciated!

Answered by ruiwenge2 [earned 5 cycles]
View Answer
Voters
LordAlfieUwU
Comments
hotnewtop
ruiwenge2

add a .replit file and add this code: