randydev commited on
Commit
8a408ab
·
verified ·
1 Parent(s): 1eb6087

Update src/main.py

Browse files
Files changed (1) hide show
  1. src/main.py +19 -0
src/main.py CHANGED
@@ -28,6 +28,25 @@ import uvloop
28
 
29
  uvloop.install()
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  client = create_pyrogram(
32
  name="fastapi-bot",
33
  api_id=API_ID,
 
28
 
29
  uvloop.install()
30
 
31
+ # from src.combo import router as combo_router
32
+ from projects.catergory import router as catergory_router
33
+ # from src.recent_torrents import router as recent_torrents_router
34
+ # from src.search_torrent_url import router as search_torrent_url_router
35
+ # from src.search_torrents import router as search_torrents_router
36
+ # from src.sites_list_torrens import router as sites_list_torrens_router
37
+ # from src.trending_torrents import router as trending_torrents_router
38
+
39
+ # torrent router
40
+ # fast_app.include_router(combo_router)
41
+ fast_app.include_router(catergory_router)
42
+ # fast_app.include_router(recent_torrents_router)
43
+ # fast_app.include_router(search_torrent_url_router)
44
+ # fast_app.include_router(search_torrents_router)
45
+ # fast_app.include_router(sites_list_torrens_router)
46
+ # fast_app.include_router(sites_list_torrens_router)
47
+ # fast_app.include_router(trending_torrents_router)
48
+
49
+
50
  client = create_pyrogram(
51
  name="fastapi-bot",
52
  api_id=API_ID,