@@ -175,15 +175,35 @@ it all depends on what areas of pybot you're wanting to play with.
175175#### Event Subscriptions
176176
177177You can follow the instructions (and read helpful related information) on the
178- [ Events API] ( https://api.slack.com/events-api ) page on Slack. When configuring
179- your events URI; make sure you pass in the Base-URI that pybot is listening on
180- followed by the text _ /slack/events_ . For example:
178+ [ Events API] ( https://api.slack.com/events-api ) page on Slack to setup event
179+ subscriptions. When configuring your events URI; make sure you pass in the
180+ Base-URI that pybot is listening on followed by the text _ /slack/events_ . For
181+ example:
181182
182183 https://supersecret.serveo.net/slack/events
183184
184185#### Slash Commands
185186
186- WIP
187+ You can follow the instructions (and read helpful relation information) on the
188+ [ Enabling interactivity with Slash Commands] ( https://api.slack.com/interactivity/slash-commands )
189+ page on Slack to setup pybot slash commands. When configuring a Slash command,
190+ make sure you configure the request URL to match the Base-URI that pybot is
191+ listening on followed by the text _ /slack/commands_ . For example:
192+
193+ https://supersecret.serveo.net/slack/commands
194+
195+ You'll use the same URI for each command. Here's a table listing of currently
196+ supported commands along with some suggested configuration text:
197+
198+ Command | Description | Usage Hint
199+ ------- | ----------- | ----------
200+ /lunch | find lunch suggestions nearby | < ; zip code> < ; distance in miles>
201+ /mentor | request mentoring |
202+ /mentor-volunteer | offer to mentor others |
203+ /repeat | parrot canned messages | < ; 10000|ask|ldap|merge|firstpr|channels|resources>
204+ /report | report something to the admins | <text of message >
205+ /roll | roll x dice with y sides | <XdY >
206+ /ticket | submit ticket to admins | (text of ticket)
187207
188208#### Interactive Components
189209
0 commit comments