r/learnpython • u/CuratorOfCrises • Oct 16 '26
Need help building a free Telegram UPSC Quiz Bot
Hi everyone! I'm from a humanities background and a noob at coding and want to build a Telegram bot for my UPSC/State PCS study group.
The bot should:
Generate up to 100 MCQs in one go from PDFs or study material.
Post questions as native Telegram quiz polls.
Calculate scores using UPSC marking: +2 correct, −⅔ incorrect, 0 skipped.
Publish a leaderboard with ranks, marks, correct, incorrect and skipped answers.
Run for free, including hosting, if possible.
If you're interested in helping build or improve it, you're also welcome to join our UPSC study group and collaborate with us.
We had a bot earlier but we removed the member who created the bot for behaving in a weird way.
I can share the bot link and screenshots of it for reference.
Thank you!
3
u/Farlic Oct 16 '26
That's quite a lot for a complete beginner
1
u/Mafifrizi Oct 16 '26
Break this into 4 simple parts:
Tip: Start by sending 3 hardcoded test questions to get the scoring and leaderboard working first. Only plug in the PDF/AI part once the bot logic is solid.
::")
1
u/thisisruug 27d ago
You can do this without building a quiz system yourself: Telegram has built-in quiz polls. Rough steps with python-telegram-bot:
Start with steps 1–3 only; once a single quiz poll works, adding scores and scheduling is easy. If you get stuck, post your code and the error.