--- title: SentryNode / Lineup Bot emoji: 🤖 colorFrom: blue colorTo: green sdk: docker pinned: false --- This repository contains a Flask wrapper and Discord bot for use with a Docker-based Hugging Face Space. The Discord bot startup is now isolated in `bot_runner.py`, so the bot runtime is kept separate from the web app and other code. A dedicated supervisor is now included in `bot_supervisor.py`, which keeps the bot running and automatically restarts it whenever the code changes or the bot process stops. When `server.py` is launched as the application entrypoint, it starts `bot_supervisor.py` automatically, so the bot will come online without manual startup. If you want to run the bot directly in a standalone environment, use `python bot_supervisor.py`. Use the root `server.py` as the app entrypoint. If you want to deploy the new bot instead, place its files at the repository root or use a separate Space repository.