Python bot shows “Missing Main File” after selecting bot.py
Posted by thetester in bugs.
Hi, I’m trying to start a Python Discord bot, but the panel keeps showing “Missing Main File” even after I select bot.py using “Use as startup file” and click Start. My project is uploaded as a ZIP and/or folder. The file picker shows the project folder and ZIP at the container root, so I’m unsure whether bot.py is nested or whether the startup file selection is being saved correctly. Could you please help me confirm: 1. Where bot.py needs to be located in the file manager. 2. What exact value the Python startup file setting should contain if bot.py is inside a subfolder. 3. Whether I need to extract the ZIP or change the startup command. I can provide screenshots of my Files and Startup pages. I’ll hide my Discord token and API keys.
Replies
Related discussions
- I click Discord Bot Create select python and add a name and click create and error: User not found on free panel. Please contact support. (solved)
- I'm trying to make a minecraft bot, and I set index.js as the main file. It even says so in
- It always says missing startup file even tho I selected it 100 times
- main file selection
- Missing file