DeMaking commited on
Commit
d6d80f3
·
verified ·
1 Parent(s): f552a64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -90,10 +90,10 @@ telegram_app.add_handler(CommandHandler("start", start))
90
  telegram_app.add_handler(MessageHandler(filters.TEXT & ~filters.COMMAND, handle_message))
91
 
92
 
93
- # """# Call initialize when starting
94
- # @app.on_event("startup")
95
- # async def startup_event():
96
- # await init_telegram()"""
97
 
98
 
99
  # API Route to receive updates from Telegram
 
90
  telegram_app.add_handler(MessageHandler(filters.TEXT & ~filters.COMMAND, handle_message))
91
 
92
 
93
+ # Call initialize when starting
94
+ @app.on_event("startup")
95
+ async def startup_event():
96
+ await init_telegram()
97
 
98
 
99
  # API Route to receive updates from Telegram