Case study · 2025
Class Notifier
A bot that watches a school's Moodle and pings students on Discord 15 minutes before each online class starts.
- 2025
- Python
- Docker
- Discord API

- 15
- minutes' warning
- 60 s
- between checks
- 0
- duplicate pings
- 5
- commits, one day
The problem
Online classes on the school's Moodle run in BigBlueButton rooms buried inside each course page. Nothing tells you one is about to start, so they are easy to miss.
How it works
The bot signs in to Moodle, collects every course from the dashboard, finds each course's BigBlueButton sessions and reads their start time from the page, written in French ("15 janvier 2025 14:30", short months included) or as ISO dates, in Morocco's time zone.
The ping
When a session starts within 15 minutes, a Discord webhook posts a card with the course, the time and a link to join. Every notified session is remembered, so nobody gets the same ping twice.
Running it
It checks every 60 seconds, with a short pause between courses so the school's server is never hammered. Python with requests and BeautifulSoup, packaged with a Dockerfile.