Spaces:
Sleeping
Sleeping
Update bot.py
Browse files
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://
|
| 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)),
|