Update bot.py
Browse files
bot.py
CHANGED
@@ -169,7 +169,7 @@ async def main():
|
|
169 |
# The bot will listen on all interfaces (0.0.0.0) at the specified port.
|
170 |
await application.run_webhook(
|
171 |
listen="0.0.0.0", # Listen on all available interfaces
|
172 |
-
port=
|
173 |
# url_path=TELEGRAM_WEBHOOK, # The webhook path; here, we use the bot token
|
174 |
webhook_url=WEBHOOK_URL # The webhook URL that Telegram will use to send updates
|
175 |
)
|
|
|
169 |
# The bot will listen on all interfaces (0.0.0.0) at the specified port.
|
170 |
await application.run_webhook(
|
171 |
listen="0.0.0.0", # Listen on all available interfaces
|
172 |
+
port=7860, # Port to listen on
|
173 |
# url_path=TELEGRAM_WEBHOOK, # The webhook path; here, we use the bot token
|
174 |
webhook_url=WEBHOOK_URL # The webhook URL that Telegram will use to send updates
|
175 |
)
|