Skip to content

Commit

Permalink
feat: add __init__ for handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
TimNekk committed Aug 6, 2022
1 parent 73ece07 commit 951572d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tgbot/handlers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from aiogram import Dispatcher

from .admin import register_admin_handlers
from .start import register_start_handlers


def register_handlers(dp: Dispatcher):
register_admin_handlers(dp)
register_start_handlers(dp)

0 comments on commit 951572d

Please sign in to comment.