Skip to content

Conversation

@MxxnKnight
Copy link

  • Added render.yaml blueprint for easy deployment on Render.
  • Updated README.md with a "Deploy to Render" button and instructions.

- Added `render.yaml` blueprint for easy deployment on Render.
- Updated `README.md` with a "Deploy to Render" button and instructions.
- Updated `Dockerfile` to use `python:3.10-slim` and fixed `apt` commands.
- Corrected `start.sh` to launch the bot.
- Removed broken dependency link from `requirements.txt`.
- Ensured code is copied into the container.
- Added `aiohttp` to `requirements.txt`.
- Refactored `main.py` to run a web server alongside the bot to satisfy Render's port binding requirement.
- Updated `render.yaml` to deploy as a Web Service.
- Added checks in `bot.py` for default/missing `DATABASE` URI.
- Wrapped startup database operations in try-except to prevent blocking.
- Added `plugins/__init__.py` to ensure correct plugin loading.
- Updated `/fwd` command in `plugins/public.py` to accept "me" or "saved" as source.
- Added prompt for message limit when forwarding from Saved Messages.
- Updated `translation.py` with new prompts.
- Updated `plugins/public.py` to ensure "Saved Messages" forwarding requires a Userbot session.
- Added warnings and safety precautions for large forward tasks.
- Implemented "Live" mode for Saved Messages to continuously forward new messages.
- Added "Batch" mode support with "all" option to forward everything without a manual limit.
- Updated `iter_messages` to support continuous polling.
- Improved error logging for forwarding failures.
- Updated `main.py` to serve a styled HTML status page with uptime.
- Added a self-ping module to keep the bot active by querying the local web server periodically.
- Improved web server logic to handle uptime calculation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant