DeMaking commited on
Commit
49ad179
·
verified ·
1 Parent(s): d6b8f77

Update bot.py

Browse files
Files changed (1) hide show
  1. bot.py +1 -1
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=443, # 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
  )
 
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
  )