yangtb24 commited on
Commit
1042122
·
verified ·
1 Parent(s): 3f2d601

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -568,7 +568,8 @@ async def main():
568
  logging.error("PHP proxy health check failed. Exiting.")
569
  return
570
 
571
- application = Application.builder().token(TELEGRAM_BOT_TOKEN).http_client(httpx.AsyncClient(trust_env=True)).build()
 
572
 
573
  # Set bot commands
574
  try:
 
568
  logging.error("PHP proxy health check failed. Exiting.")
569
  return
570
 
571
+ # 修改这里
572
+ application = Application.builder().token(TELEGRAM_BOT_TOKEN).request(httpx.AsyncClient(trust_env=True)).build()
573
 
574
  # Set bot commands
575
  try: