Giter VIP home page Giter VIP logo

tenda-lunch's Introduction

Tenda-lunch

A Slack Bot to create a lunch poll.

Setup

In your config.json

  • Enter the token you generated for the bot in your slack team.
  • Enter the channel ID, or name.
  • Enter the time for the poll to last.
  • Enter your restaurants names and emojis as in here.

Then run node index to start the script.

Mods

If you want you can change some of the greetings that at this moment are hard coded.

tenda-lunch's People

Contributors

joaopedrovbs avatar

Stargazers

Otacilio Maia avatar Jhony Alceu Pereira avatar Felipe Augusto avatar Horaddrim avatar

Watchers

James Cloos avatar

tenda-lunch's Issues

Remover opções de restaurantes inutilizadas num time frame

Seria interessante se existisse um track do perfil de votação das pessoas. E depois de um determinado timeframe retirar as opções que nunca foram utilizadas.

Por exemplo: o restaurante vozinha foi utilizado poucas vezes, e dentro de um determinado timeFrame (por exemplo, 30 dias) poderíamos excluído como uma opção válida por falta de aderência. Poderíamos ter um objecto de configuração:

{
  timeFrame: 30, // em dias
  numberOfVotes: 20, // se o número total de votos em 30 dias for menor que 20, deleta o restaurante
}

Opção de cadastrar restaurantes novos

Expor uma API que seja capaz de cadastrar restaurantes novos, com opção de habilitar dias da semana e ainda cadastrar um cardápio para o dia (como exemplo: parmigiana as terças no Hideal)

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.