Update bot.py
Browse files
bot.py
CHANGED
@@ -41,8 +41,7 @@ if not WEBHOOK_DOMAIN:
|
|
41 |
# Define a unique webhook path using the bot token
|
42 |
WEBHOOK_PATH = f"/{TOKEN}"
|
43 |
# Construct the full webhook URL (must be HTTPS as required by Telegram)
|
44 |
-
WEBHOOK_URL = f"https://{WEBHOOK_DOMAIN}{WEBHOOK_PATH}"
|
45 |
-
print("webhook url: ", WEBHOOK_URL[:5])
|
46 |
|
47 |
|
48 |
# -------------------------
|
|
|
41 |
# Define a unique webhook path using the bot token
|
42 |
WEBHOOK_PATH = f"/{TOKEN}"
|
43 |
# Construct the full webhook URL (must be HTTPS as required by Telegram)
|
44 |
+
WEBHOOK_URL = f"https://{WEBHOOK_DOMAIN}" # {WEBHOOK_PATH}"
|
|
|
45 |
|
46 |
|
47 |
# -------------------------
|