Updates your Slack status when a Tseva Adom (Red Alert) is detected in Israel. Restores your previous status 10 minutes after the last alert.
- Go to api.slack.com/apps → Create New App → From scratch
- Under OAuth & Permissions, add these User Token Scopes:
users.profile:readusers.profile:write
- Click Install to Workspace and copy the
xoxp-...token
cp .env.example .env
# Edit .env and paste your tokenuv run --env-file .env missile_alert.py--city "תל אביב" Only trigger for alerts in a specific city (Hebrew name)
--test-alert Set the alert status and exit (for testing)
--test-clear Restore previous status and exit (for testing)
