rumalg123/Advanced-File-Filter-Bot — reverse-engineered prompt
Reverse engineered prompt
Build me a Telegram bot that can act like a media search and file filter system for channels. I want it to index files from Telegram channels, let users search them with fuzzy matching, show paginated results, and deliver the selected media back to the user.
It should have free and premium access rules, with safe quota tracking so people can’t bypass limits by requesting many files at once. Add admin tools for broadcast messages, cache control, database checks, performance checks, and basic maintenance. Use Python async style, MongoDB for storing indexed media, Redis for caching, rate limits, and session state, and Docker so I can run it on a VPS or with compose.
Please also include health, metrics, and performance endpoints, good environment config examples, graceful startup and shutdown, and sensible retry handling for Telegram rate limits. Keep it production minded but still easy for me to configure and deploy. Look up current Telegram bot library docs online if you need to.
Want more depth? Deep Reverse