You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,8 +119,10 @@ Other alert kinds are not de-duplicated.
119
119
4. Build and run
120
120
-`cargo run -- --name "My Test Bot" --icon "warning" --node-rpc-url wss://rpc.mainnet.subspace.foundation/ws`
121
121
- public node URLs are [listed in subspace.rs](https://github.com/autonomys/subspace-chain-alerts/blob/ac33ed7d200a1fdc3b92c1919f7b9cfacfba37c6/chain-alerter/src/subspace.rs#L43-L49)
122
+
-`--slack=false` will disable Slack message posting entirely, and just log alerts to the terminal.
123
+
-`--alert-limit=5` will exit after 5 alerts have been posted, including the startup alert.
122
124
- On first observed block, you should see a Slack message in `#chain-alerts-test` summarizing connection and block info.
123
-
- All arguments are optional. The default node is localhost, and the default icon is the instance external IP address country flag.
125
+
- All arguments are optional. The default node is `localhost`, and the default icon is the instance external IP address country flag (looked up via an online GeoIP service, which can be wrong).
0 commit comments