Skip to content
All projects

Telegram Lein Bot

An automated Telegram assistant equipped with custom command trees and a competitive, state-tracking trivia module.

Tech stack

Languages
Frameworks & libraries

Why I built it

To adapt previous Discord-based automation architectures into the Telegram ecosystem, exploring its unique inline query and command structure.

Architecture & decisions

Developed in Python. The bot relies on asynchronous polling to monitor chat groups. It implements an interactive 'Guess the Philosopher' mini-game, where state and scores are tracked per user ID, ensuring isolated interactions within chaotic group chats.

Key features

  1. 01Asynchronous Telegram API polling
  2. 02In-memory state management for active mini-games
  3. 03User-specific score tracking algorithms