Giter Site home page Giter Site logo

slackrestaurantbot's Introduction

  • Installation :

This entire bot was designed as described in this tutorial : ** restaurantOrganizer **

This repository contains 2 slack bots to help organizing lunch time.

  • restaurantOrganizer : creates groups and designate a friend in charge of booking the restaurant.
  • pizzaOrganizer : creates a list gathering all pizza requests of your friends to help.

Those bots are freely inpired from this tutorial : https://www.fullstackpython.com/blog/build-first-slack-bot-python.html (This tutorial also helps you understanding what virtualenv is useful for...)

To use the bot you need to install slackclient (via pip for instance) : pip install slackclient

  • Launch bot deamon :

From a terminal : python restaurantorganizer.py API_TOKEN --waiting_time 20 python pizzaOrganizer.py API_TOKEN --waiting_time 20

(Launches the bots and let 20 minutes for people to answer)

https://gopro.slack.com/services/B2K6XE1L7 under API TOKEN

  • Invoke bot in slack :

If the bot is not already present in the targeted channel, add it to the channel. And then type : @restaurant-organizer organize @pizza-organizer organize

slackrestaurantbot's People

Contributors

cmathis-gpsw avatar emericg avatar mathisc avatar irmatden avatar

Watchers

 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.