Fix Slack group ID pings

This commit is contained in:
SkyfallWasTaken 2024-07-23 10:06:35 +01:00
parent b9a3f6d078
commit ca2acbffe6
2 changed files with 3 additions and 0 deletions

View file

@ -68,6 +68,8 @@ async fn run_scrape(env: Env) -> Result<String> {
.body(slack_body.to_string()) .body(slack_body.to_string())
.send() .send()
.await .await
.unwrap()
.error_for_status()
.unwrap(); .unwrap();
// ntfy webhook // ntfy webhook

View file

@ -14,6 +14,7 @@ mode = "smart"
[vars] [vars]
NTFY_URL = "https://ntfy.hackclub.app/arcade-monitor" NTFY_URL = "https://ntfy.hackclub.app/arcade-monitor"
ARCADE_SHOP_URL = "https://hackclub.com/arcade/shop/" ARCADE_SHOP_URL = "https://hackclub.com/arcade/shop/"
SLACK_GROUP_ID = "S07B2CBT2DV"
[[kv_namespaces]] [[kv_namespaces]]
binding = "SHOP_ITEMS" binding = "SHOP_ITEMS"