FXGT / test_alert.py
Badumetsibb's picture
Create test_alert.py
51964ee verified
raw
history blame contribute delete
473 Bytes
import requests
NTFY_TOPIC = "forex_gnn_live_alerts" # Make sure this matches your app.py
try:
requests.post(
"https://ntfy.sh/",
json={
"topic": NTFY_TOPIC,
"message": "Test Alert: The Bot is Connected! πŸš€",
"title": "System Check",
"tags": ["white_check_mark"],
"priority": "high"
}
)
print("βœ… Test Alert Sent!")
except Exception as e:
print(f"❌ Error: {e}")test_