---
title: "Azmona Exam Bot | Sobhan Heravian"
description: "A Telegram bot for timed online exams, built in PHP during COVID-19, with a live timer, Jalali dates and PDF result reports."
url: "https://sobhan.heravian.com/projects/azmona-bot/"
lang: "en"
---

# Azmona: a Telegram Bot for Online Exams

When classes moved online during COVID-19, teachers needed a simple way to give timed exams to students who were already on Telegram (this was before Telegram was blocked in Iran). Azmona lets a teacher create lessons and exams inside Telegram; students take the exam in the chat, with the remaining time shown live on the message's buttons.

Scheduled jobs handle exam time limits and send reminders. Results are generated as PDF reports and sent straight to the chat. Version 2.3 moved the bot to the Nutgram framework and PHP 8.4, generates PDFs with mPDF, and keeps all secrets in a .env file.

## At a glance

- Lessons and exams created inside Telegram.
- Live countdown on the exam message.
- Dates in the Jalali (Persian) calendar.
- PDF result reports delivered in the chat.
- Runtime errors reported to the developer through Telegram.

- Source code on GitHub: https://github.com/s-heravian/TBOT_Azmona

---

[All Projects](https://sobhan.heravian.com/#projects)
