-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrouters.py
More file actions
27 lines (24 loc) · 868 Bytes
/
Copy pathrouters.py
File metadata and controls
27 lines (24 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"""Create the main bot entities here."""
from aiogram import Router
from src.router.about import router as r_about
from src.router.admin.admins import router as r_admin_admins
from src.router.admin.interests import router as r_admin_interests
from src.router.admin.main_menu import router as r_admin_main_menu
from src.router.admin.subscriptions import router as r_admin_subscriptions
from src.router.admin.unloads import router as r_admin_unloads
from src.router.chat import router as r_chat
from src.router.commands import router as r_commands
from src.router.other import router as r_other
from src.router.subscribe import router as r_subscribe
all_routers: list[Router] = [
r_commands,
r_chat,
r_subscribe,
r_about,
r_admin_main_menu,
r_admin_interests,
r_admin_subscriptions,
r_admin_admins,
r_admin_unloads,
r_other,
]