Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ BOT_TOKEN = "8018538301:AAGRSngj4Bj5nqizPsU3Zux48Yr6fpaZ7To" # 🔁 Replace thi
|
|
| 15 |
SCRIPT_DIR = "scripts"
|
| 16 |
DB_FILE = "scripts.json"
|
| 17 |
PORT = int(os.environ.get('PORT', 7860))
|
| 18 |
-
PING_URL = "https://dexsecon-
|
| 19 |
|
| 20 |
# === INIT ===
|
| 21 |
os.makedirs(SCRIPT_DIR, exist_ok=True)
|
|
|
|
| 15 |
SCRIPT_DIR = "scripts"
|
| 16 |
DB_FILE = "scripts.json"
|
| 17 |
PORT = int(os.environ.get('PORT', 7860))
|
| 18 |
+
PING_URL = "https://dexsecon-yobot.hf.space/ping" # ✅ Auto-ping URL (your space)
|
| 19 |
|
| 20 |
# === INIT ===
|
| 21 |
os.makedirs(SCRIPT_DIR, exist_ok=True)
|