Spaces:
Runtime error
Runtime error
|
Download README.md from Brozy123/LineUp-Bot: direct link, hf CLI and curl.
- Browser
- Download file 941 Bytes
-
https://huggingface.co/spaces/Brozy123/LineUp-Bot/resolve/refs%2Fpr%2F1/README.md
- Command line
-
hf download hf://spaces/Brozy123/LineUp-Bot@refs/pr/1/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Brozy123/LineUp-Bot/resolve/refs%2Fpr%2F1/README.md
941 Bytes
| 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. | |