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
/report | report something to the admins | <textofmessage>
191
+
/roll | roll x dice with y sides | <XdY>
192
+
/ticket | submit ticket to admins | (text of ticket)
193
+
194
+
#### Interactive Components
195
+
196
+
You can follow the instructions (and read helpful related information) on the
197
+
[Handling user interaction in your Slack apps](https://api.slack.com/interactivity/handling)
198
+
page on Slack to setup Slack interactive component configuration. When
199
+
configuring the request URL, you'll want to set it to the Base-URI that pybot
200
+
is listening on followed by the text _/slack/actions_. For example:
201
+
202
+
https://supersecret.serveo.net/slack/actions
203
+
204
+
You'll also want to make sure to configure the report message action with the
205
+
following parameters:
206
+
207
+
Name | Description | Callback ID
208
+
---- | ----------- | -----------
209
+
Report Message | Report this message to admins | report_message
210
+
211
+
## Known Configuration Settings
212
+
213
+
This application has a number of environment variables that can be set when
214
+
launching to alter the behaviour of the application. The list below is an
215
+
incomplete description of a number of them. Please feel free to update this
216
+
list with more details via a PR:
217
+
218
+
Name | Description | Example
219
+
---- | ----------- | -------
220
+
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
221
+
BOT_OATH_TOKEN | The bot user specific OAuth token used to authenticate the bot when making API requests to Slack | xoxb-800506043194-810119867738-vRvgSc3rslDUgQakFbMy3wAt
222
+
MENTOR_CHANNEL | Slack unique identifier (not the same as the channel name) for a workspace channel that mentors should be added to | G1DRT62UC
53
223
54
224
## License
55
225
This package is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
0 commit comments