JerryCoder commited on
Commit
009e068
·
verified ·
1 Parent(s): ec20bdf

Update bot.py

Browse files
Files changed (1) hide show
  1. bot.py +1 -1
bot.py CHANGED
@@ -170,7 +170,7 @@ async def main():
170
  app.add_handler(CommandHandler("totalenc", total_enc))
171
 
172
  # Hugging Face Space webhook
173
- WEBHOOK_URL = f"https://{os.environ['SPACE_DOMAIN']}/api/webhook/{BOT_TOKEN}"
174
  await app.run_webhook(
175
  listen="0.0.0.0",
176
  port=int(os.environ.get("PORT", 7860)),
 
170
  app.add_handler(CommandHandler("totalenc", total_enc))
171
 
172
  # Hugging Face Space webhook
173
+ WEBHOOK_URL = f"https://huggingface.co/spaces/JerryCoder/kuttuxd/api/webhook/{BOT_TOKEN}"
174
  await app.run_webhook(
175
  listen="0.0.0.0",
176
  port=int(os.environ.get("PORT", 7860)),