Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adroll/slackask
Ask people anonymous questions on Slack.
https://github.com/adroll/slackask
Last synced: 14 days ago
JSON representation
Ask people anonymous questions on Slack.
- Host: GitHub
- URL: https://github.com/adroll/slackask
- Owner: AdRoll
- License: apache-2.0
- Created: 2015-06-15T18:13:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-23T20:50:43.000Z (over 9 years ago)
- Last Synced: 2023-05-23T20:26:35.674Z (over 1 year ago)
- Language: Python
- Size: 137 KB
- Stars: 10
- Watchers: 18
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
To setup slackask you need to deploy get a slash command token from Slack as well as an incoming webhook url.
Edit the slackask_settings.py file and insert those. If you'd like to use something other than sqlite also tweak the db url.Then run ```$ pip install -r requirements.txt```
Run ```$ python application.py``` and you're off to the races.
When you're off to the races you can use it from slack like so:
```
/ask @phuff What is your favorite color?
```phuff will get a private message from SlackBot that looks like this:
```
Somebody asked you a new question! #1: What is your favorite color?
To publish it: /ask publish 1
To list your questions: /ask list
For more help: /ask help
```phuff can then post the question if they so choose:
```
/ask publish 1 #my-favorite-channel-name
```If they don't want to publish it they can delete it:
```
/ask delete 1
```Users can list the questions they've been asked:
```
/ask list
```And help is always a command away:
```
/ask help
```Pull requests welcome!