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
{{ message }}
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
The `ANNOUNCEMENT` environment variable contains a string that will be announced in all of the configured teams when
92
+
the bot is started. This is useful if you would like the bot to announce the fact it has started and granted access in
93
+
a given team. The `ANNOUNCEMENT` environment variable supports a number of templating variables that will be instantiated
94
+
based off of the current config. These are:
95
+
96
+
*`{USERNAME}` will be replaced with the username of the bot
97
+
*`{CURRENT_TEAM}` will be replaced with the team that the message is being sent in
98
+
*`{TEAMS}` will be replaced with the comma separated list of teams that the bot is running in
99
+
100
+
Examples:
101
+
102
+
```bash
103
+
export ANNOUNCEMENT="SSH CA bot starting up..."
104
+
export ANNOUNCEMENT="Hello! I'm {USERNAME} and I'm an SSH bot! See github.com/keybase/bot-sshca for information on using Keybase for SSH."
105
+
export ANNOUNCEMENT="Hello! I'm {USERNAME} and I'm an SSH bot! I'm currently listening in {TEAMS}."
106
+
export ANNOUNCEMENT="Hello! I'm {USERNAME} and I'm an SSH bot! Being in {CURRENT_TEAM} will grant you SSH access to certain servers. Reach out to @dworken for more information."
107
+
```
108
+
89
109
## Developer Options
90
110
91
111
These environment variables are mainly useful for dev work. For security reasons, it is recommended always to run a
0 commit comments