telegram-bot-template
telegram-bot-template copied to clipboard
đ Useful and multifunction bot template, which use aiogram and pyrogram libraries
Telegram Bot Template
Useful and multifunction bot template, which use aiogram and pyrogram libraries
Sample bot
Features
- as a main library
- (Optional) for MTProto requests, such as bulk delete, 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 db middlewares by default
- đ Changing UI commands
- đ¨đģâđģ Owner filter
- âšī¸ Demo usage of dialogs and inline queries
Usage
- đ Create and clone repo from this template
- đ Rename
example.toml
toconfig.toml
and change bot settings - đ Install requirements from
requirements.txt
- đ Run bot via
python -m app
Bots using this template
- HueRtx/tgbot - simple weather bot with some other features
- AYLMS/LyceumBot - bot for Yandex LMS with notifications and stats
đ¨đģâđģ You can send me a link to your bot repository and I will post it here.