kourva/awesomechatgptbot ? reverse-engineered prompt

Reverse engineered prompt

Build me a Telegram bot in Python that feels like a free ChatGPT companion for chats and groups.

It should reply to normal messages with AI answers, keep conversation history, and support commands like start, help, ping, chat, history, reset, settings, features, danmode, and tts. I want it to try multiple AI providers automatically and fall back to the next one if one fails, then show me which providers are working. It should also support inline mode with preset roles, and let me toggle provider preferences from a settings command.

Please include voice replies for text to speech, and make it easy to run from a token file or simple environment setup. Keep the code clean and practical, with good error handling, so it can handle Telegram issues and provider failures without crashing. If needed, look up current docs online and make sure the bot works with the latest Telegram bot API and common Python Telegram libraries.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab