GithubHelp home page GithubHelp logo

slackask's Introduction

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 <channel-name>
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!

slackask's People

Contributors

phuff avatar

Stargazers

Laeeth Isharc avatar Ritchie J. Latimore avatar Xander Dunn avatar Gabriele Modena avatar Ralf van der Zanden avatar  avatar vitonzhang avatar Dylan Roy avatar Jyri Tuulos avatar Christopher Zorn avatar

Watchers

Oleg Avdeev avatar Ville Tuulos avatar Valentino Volonghi avatar Luigi Panzeri avatar Mitch Walker avatar Aaaron avatar Justin Niessner avatar Mikko Juola avatar James Cloos avatar Dominik Zyla avatar Josh Burroughs avatar Marvin Mante avatar  avatar Luca Rinaldi avatar Benoit Rostykus avatar Andy Hills avatar debbie rosenbaum avatar Emmanuel García avatar Ricardo Azpeitia Pimentel avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.