armen-devops/Telegram_Bot ? reverse-engineered prompt
Reverse engineered prompt
Build me a Telegram bot that shows the current Armenian dram exchange rates and can convert between USD, EUR, RUR, and AMD.
I want the bot to send a welcome photo with inline buttons, support commands like /start, /rates, /convert, /clear, and /help, and show the last updated time on every reply. The rates should come from rate.am, refreshed in the background so responses feel fast, and it should keep working even if the browser crashes and needs to restart. For conversion, make it a simple guided flow where the user picks the source currency, then the target currency, then types the amount. It should understand common number formats like 1,000.50 and 1 000, and convert through AMD.
Please make it run locally with a .env token file, use a welcome image from the project folder, and keep the chat cleanup command working as well as it can in private chats and groups. If you need anything from the current docs to make Selenium or the Telegram library work properly, look it up online.
Are you gonna build this?
make sure you review the code using coderabbit