Skip to content

Commit ca3e9c4

Browse files
authored
Merge pull request #13 from slackapi/roach/example-updates
Updated example app README
2 parents 607d760 + 9bcbfa3 commit ca3e9c4

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

example/README.rst

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,6 @@ Authorize your app
5959

6060
.. image:: https://cloud.githubusercontent.com/assets/32463/24877792/774ed94c-1de5-11e7-8857-ac8d662c5b27.png
6161

62-
**🤖 Subscribe your app to events**
63-
64-
Add your **Request URL** (your ngrok URL + ``/slack/events``) and subscribe your app to `message.channels` under bot events. **Save** and toggle **Enable Events** to `on`
65-
66-
.. image:: https://cloud.githubusercontent.com/assets/32463/24877867/b39d4384-1de5-11e7-9676-9e47ea7db4e7.png
67-
68-
.. image:: https://cloud.githubusercontent.com/assets/32463/24877931/e119181a-1de5-11e7-8b0c-fcbc3419bad7.png
69-
7062
**🤖 Save your app's credentials**
7163

7264
Once you've authorized your app, you'll be presented with your app's tokens.
@@ -89,6 +81,7 @@ Add your app's **Verification Token** to your python environmental variables
8981
9082
export SLACK_VERIFICATION_TOKEN=xxxxxxxxXxxXxxXxXXXxxXxxx
9183
84+
9285
**🤖 Start ngrok**
9386

9487
In order for Slack to contact your local server, you'll need to run a tunnel. We
@@ -134,6 +127,15 @@ Subscription setup
134127
135128
python example.py
136129
130+
131+
**🤖 Subscribe your app to events**
132+
133+
Add your **Request URL** (your ngrok URL + ``/slack/events``) and subscribe your app to `message.channels` under bot events. **Save** and toggle **Enable Events** to `on`
134+
135+
.. image:: https://cloud.githubusercontent.com/assets/32463/24877867/b39d4384-1de5-11e7-9676-9e47ea7db4e7.png
136+
137+
.. image:: https://cloud.githubusercontent.com/assets/32463/24877931/e119181a-1de5-11e7-8b0c-fcbc3419bad7.png
138+
137139
**🎉 Once your app has been installed and subscribed to Bot Events, you will begin receiving event data from Slack**
138140

139141
**👋 Interact with your bot:**

0 commit comments

Comments
 (0)