Demo bot showing how to send dice and get game outcomes
BBDiceDemoBot is a demonstration Telegram bot that shows how to send dice and retrieve game outcomes.
It uses Telegram's built-in dice feature to generate random results, making it ideal for games, fun interactions, or learning how to handle message updates with media.
The demo illustrates sending dice via API, catching the resulting message with a dice value, mapping scores to simple outcomes, and replying with formatted messages or stickers.
It also covers callback queries for replay actions, basic rate limiting, and logging rolls for simple leaderboards.
Perfect for developers exploring Telegram's gaming elements and interactive chat features.