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
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,9 +126,13 @@ Here's an example of configuring these through the _pybot.env_ file:
126
126
127
127
```bash
128
128
SLACK_BOT_SIGNING_SECRET=APP-SIGNING-SECRET
129
-
SLACK_TOKEN=BOT-USER-OAUTH-TOKEN
129
+
BOT_OATH_TOKEN=BOT-USER-OAUTH-TOKEN
130
130
```
131
131
132
+
**NOTE**: More configuration settings than these may be specified. Please see
133
+
the _Known Configuration Settings_ section near the bottom of this document
134
+
for details on other settings that can be set.
135
+
132
136
### 4 - Attach Your pybot Instance to the Public Internet
133
137
134
138
With an instance of pybot running, you now need to expose this instance to the
@@ -222,5 +226,18 @@ Name | Description | Callback ID
222
226
---- | ----------- | -----------
223
227
Report Message | Report this message to admins | report_message
224
228
229
+
## Known Configuration Settings
230
+
231
+
This application has a number of environment variables that can be set when
232
+
launching to alter the behaviour of the application. The list below is an
233
+
incomplete description of a number of them. Please feel free to update this
234
+
list with more details via a PR:
235
+
236
+
Name | Description | Example
237
+
---- | ----------- | -------
238
+
SLACK_BOT_SIGNING_SECRET | The unique signing secret used by Slack for a specific app that will be validated by pybot when inspecting an inbound API request | f3b4d774b79e0fb55af624c3f376d5b4
239
+
BOT_OATH_TOKEN | The bot user specific OAuth token used to authenticate the bot when making API requests to Slack | xoxb-800506043194-810119867738-vRvgSc3rslDUgQakFbMy3wAt
240
+
MENTOR_CHANNEL | Slack unique identifier (not the same as the channel name) for a workspace channel that mentors should be added to | G1DRT62UC
241
+
225
242
## License
226
243
This package is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
0 commit comments