Spaces:
Running
Running
Update bot.py
Browse files
bot.py
CHANGED
|
@@ -376,15 +376,12 @@ async def _start_polling():
|
|
| 376 |
await _bot_app.updater.start_polling(
|
| 377 |
drop_pending_updates=True,
|
| 378 |
allowed_updates=Update.ALL_TYPES,
|
| 379 |
-
read_timeout=30,
|
| 380 |
-
write_timeout=30,
|
| 381 |
-
connect_timeout=30,
|
| 382 |
-
pool_timeout=30,
|
| 383 |
)
|
| 384 |
logger.info("π Bot is polling for updates. All handlers active.")
|
| 385 |
|
| 386 |
|
| 387 |
|
|
|
|
| 388 |
# ββ Main βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 389 |
def main():
|
| 390 |
logger.info("Starting JEE & NEET Daily Bot...")
|
|
|
|
| 376 |
await _bot_app.updater.start_polling(
|
| 377 |
drop_pending_updates=True,
|
| 378 |
allowed_updates=Update.ALL_TYPES,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 379 |
)
|
| 380 |
logger.info("π Bot is polling for updates. All handlers active.")
|
| 381 |
|
| 382 |
|
| 383 |
|
| 384 |
+
|
| 385 |
# ββ Main βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 386 |
def main():
|
| 387 |
logger.info("Starting JEE & NEET Daily Bot...")
|