DeMaking commited on
Commit
f31a98c
·
verified ·
1 Parent(s): 7610140

Update bot.py

Browse files
Files changed (1) hide show
  1. bot.py +3 -0
bot.py CHANGED
@@ -117,6 +117,9 @@ async def set_webhook():
117
  except Exception as e:
118
  logger.error(f"Failed to set webhook manually. Error: {e}")
119
  print(f"error setting bot webhook. Error: {e}")
 
 
 
120
 
121
  # -------------------------
122
  # Main function to run the bot using Webhook mode
 
117
  except Exception as e:
118
  logger.error(f"Failed to set webhook manually. Error: {e}")
119
  print(f"error setting bot webhook. Error: {e}")
120
+
121
+
122
+ set_webhook()
123
 
124
  # -------------------------
125
  # Main function to run the bot using Webhook mode