Code Monkey home page Code Monkey logo

komidabot's Introduction

komidabot

A Slack chat bot to request the daily menu at the komida restaurants of the University of Antwerp.

komidabot

About

Komidabot retrieves the menu for the komida restaurants at the University of Antwerp and lets you know what's for lunch on Slack.

Komidabot operates as a plugin for the official Slack python-rtmbot.

Komidabot will reply to menu requests on channels it has been invited to by (case insensitive):

  • Mentioning 'komidabot' in your message, optionally specifying a campus and date.
  • Matching the ^l+u+n+c+h+!+$ regex to retrieve the default menu of the present day at campus Middelheim.

Additionally, you can message komidabot directly without the need to use any of the above triggers.

  • Campus choices can be specified using the full campus name or the three-letter campus abbreviation (Drie Eiken CDE, Middelheim / CMI, stad / city / CST).
  • Dates can be specified using the day of the week (Monday - Sunday) or using temporal nouns (yesterday, today, tomorrow).

Installation

Komidabot was developed using Python 3.6. No guarantees are given that it will work for other Python versions as well. See requirements.txt for the dependencies that need to be installed.

How to add komidabot to your team's Slack?

  1. Create a custom bot user for Slack.
  2. Specify the API token as SLACK_TOKEN in the rtmbot.conf configuration file.
  3. Run komidabot on your command line: > rtmbot.
  4. Invite komidabot to any public channels on which you want to receive menu updates or message komidabot directly.

komidabot's People

Contributors

bittremieux avatar pmoris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.