File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,9 +60,6 @@ user has authorized your app.
6060 ⚠️ We strongly discourage using ngrok for
6161 anything but development. It’s not well-suited for production use.
6262
63- 💡 See the example app included in this repository for more information
64- on implementing OAuth.
65-
6663🤖 Usage
6764-----
6865 **⚠️ Keep your app's credentials safe! **
@@ -107,7 +104,7 @@ For a comprehensive list of available Slack `Events` and more information on
107104🤖 Examples
108105--------
109106
110- See `example.py `_ for usage examples. This example also utilizes OAuth and the
107+ See `example.py `_ for usage examples. This example also utilizes the
111108SlackClient Web API client.
112109
113110.. _example.py : /example/
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Example Slack events API bot
22=============================
33
44This example app shows how easy it is to implement the Slack Events API Adapter
5- to receive Slack Events, extend it to handle the OAuth flow and respond to
5+ to receive Slack Events and respond to
66messages using Slack's Web API via python-slackclient.
77
88🤖 Setup and running the app
Original file line number Diff line number Diff line change 1111SLACK_VERIFICATION_TOKEN = os .environ ["SLACK_VERIFICATION_TOKEN" ]
1212slack_events_adapter = SlackEventAdapter (SLACK_VERIFICATION_TOKEN , "/slack/events" )
1313
14- # Slack App credentials for OAuth
14+ # Slack bot user credentials
1515SLACK_BOT_TOKEN = os .environ ["SLACK_BOT_TOKEN" ]
1616
1717# Create a SlackClient for your bot to use for Web API requests
1818CLIENT = SlackClient (SLACK_BOT_TOKEN )
1919
20-
2120# Example responder to greetings
2221@slack_events_adapter .on ("message" )
2322def handle_message (event_data ):
You can’t perform that action at this time.
0 commit comments