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
* Pulls the top answer of the most relevant question matching your query.
6
15
7
-
## Integration
16
+
## Integration <aname="integration"></a>
8
17
Head over to http://adamhe.me/slack-bots/ and click on the `Add to Slack` button to add slackoverflow into your team!
9
18
10
-
## Usage
19
+
## Usage <aname="usage"></a>
11
20
* Open Slack, either browser or desktop.
12
21
* In any channel, mention the bot along with a question that you want to ask on stackoverflow, e.g `@slackoverflow how does a es6 promise work?` You can also direct message the bot directly if you don't want to clutter a channel.
13
22
14
-
## Development
23
+
## Development <aname="development"></a>
15
24
1. Create an app on slack.
16
25
2. Obtain your api token.
17
26
3. Add your api token into your environment as `SLACK_API_TOKEN`.
@@ -20,8 +29,11 @@ Head over to http://adamhe.me/slack-bots/ and click on the `Add to Slack` button
20
29
6. Add the bot into any Slack teams (most likely one that you made for testing/developing).
21
30
7. Run the bot via `python slackoverflow.py` and have fun developing!
0 commit comments