muslim-kh09/Islamic-Prayer-Times-Bot — reverse-engineered prompt
Reverse engineered prompt
Build me a Telegram bot in Python for Islamic groups that sends accurate prayer times and automatic azan notifications for each group based on that group’s own city, timezone, and calculation method. I want admins to be able to add it to a group, run /setup the first time, change the city with /setgroupcity, change the calculation method with /setcalculationmethod, and check current settings with /groupstatus. It should support several well known cities out of the box and handle Fajr, Dhuhr, Asr, Maghrib, and Isha properly.
Please also include a simple engagement system where users can tap a prayed button to log their prayer, earn points, and view a /top leaderboard, with protection against logging the same prayer more than once per day. I also want a smart hadith feature that posts relevant hadith during the day without becoming spammy, with caching and a fallback if the hadith source fails.
Make it reliable for multiple groups at once, handle errors gracefully, and leave it easy to self host with clear setup steps. You can check current Telegram bot docs online if needed.
Want more depth? Deep Reverse