Skip to content
/ aiogram-bot-template Public template

Template repo with prepared structure for aiogram projects

License

Notifications You must be signed in to change notification settings

v1a0/aiogram-bot-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d382943 · Aug 29, 2021

History

4 Commits
Jun 19, 2021
Jun 19, 2021
Jun 20, 2021
Jun 19, 2021
Jun 20, 2021
Jun 19, 2021
Jun 19, 2021
Jun 19, 2021
Jun 19, 2021
Jun 19, 2021
Aug 29, 2021

Repository files navigation

Template structure

aiogram-bot-template
|   .gitattributes
|   .gitignore
|   autorun.py      # infinite loop run bot.py (restart if bot fail)
|   bot.py          # main file, dp.executor.start_polling, from handlers import *
|   branches.py     # State's init as branches
|   LICENSE         # just license
|   messages.py     # Dict with text messages MSG['hello']
|   misc.py         # Bot init, Dispatcher init
|   settings.py     # API_TOKEN, ADMIN_ID, BAN_LIST, DB_PATH, logger settings
|
\---handlers            # dp.handlers
    |   start.py        # template handler for /start and /indo
    |   text_message.py # template handlers for TEXT-messages

About

Template repo with prepared structure for aiogram projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages