Telegram Bot Template
Useful and multifunction bot template, which use aiogram
based on https://github.com/rodion-gudz/telegram-bot-template, but Dockerized, without pyrogram, with poetry, bumped up requirements and migrations
Features
- as a main library resolve by username and list participants in a group
- (Optional) for creating multi-step dialogs
- βοΈ Webhook and long polling with local Bot API server support
- π¨ Beautiful and informative colored logs
- π Throttling and database middlewares by default
- π Changing UI commands
- π¨π»βπ» Owner filter
- βΉοΈ Demo usage of dialogs and inline queries
- π₯ And much more coming!
Usage
- π Create and clone repo from this template
- π Rename
example.env
to.env
and change bot settings - π Install requirements by
poetry install
- π Run bot via
python main.py