Update app.py
Browse files
app.py
CHANGED
@@ -568,7 +568,8 @@ async def main():
|
|
568 |
logging.error("PHP proxy health check failed. Exiting.")
|
569 |
return
|
570 |
|
571 |
-
|
|
|
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:
|