Declare requirements explicitly
List discord.py and production dependencies in requirements.txt. Use compatible version ranges or pinned versions instead of relying on an undeclared local environment.
Package a Python Discord bot with requirements.txt, a direct startup command and secrets supplied through the runtime environment.
Planning a bot, app or website? Botkeep Halloween Free: 3 months of free hosting Starts 24 October 2026. The plan and code are not active yet; see the announcement for resources and details.
List discord.py and production dependencies in requirements.txt. Use compatible version ranges or pinned versions instead of relying on an undeclared local environment.
A command such as python main.py gives the runtime a clear lifecycle and makes crash output easier to understand.
Keep the Discord token out of main.py, .env files and uploaded archives. Fail clearly when a required environment value is missing.
Use the persistent storage allocation only for data that must survive a restart, and maintain an independent copy of anything important.
The dependency list travels with the project.
One explicit entry point starts the bot process.
os.environ supplies the secret outside source code.
Tracebacks and diagnostic logs remain available for debugging.
The panel shows the observed process state and Console output. Check the startup command, environment and dependencies before starting again. Files and resource allocations remain reserved; an API acknowledgement alone does not mean your application is ready.
Create, download and restore backups from the panel, within your assigned plan limits. Stop databases before backing them up and stop any server before restoring. Only completed, successful backups are recovery points. Automatic deletion by age is not currently enabled. Keep an independent copy of important data.
Read the backup termsYes, the authenticated panel deploys enabled application, database and service profiles. Configure secrets in Environment and connect private repositories through the GitHub App. Domains supports aliases and DNS-verified custom domains with HTTPS. Paid plans are purchased through Stripe with single payments and manual renewal, not automatic subscriptions.
Choose Node.js or Python, bring a GitHub repository or ZIP, and review the available versions and resource limits before deploying.