/ro0t

Primary LanguagePythonMIT LicenseMIT

Telegram Bot Template

Useful and multifunction bot template, which use aiogram and pyrogram libraries

Telegram DeepSource CodeFactor CodeStyle PythonVersions

Features

  • aiogram 3 as a main library
  • pyrogram (Optional) for MTProto requests, such as bulk delete, resolve by username and list participants in a group
  • aiogram-dialog (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 to config.toml and change bot settings
  • 📎 Install requirements from requirements.txt
  • 🚀 Run bot via python -m app

Bots using this template

👨🏻‍💻 You can send me a link to your bot repository and I will post it here.