Giter VIP home page Giter VIP logo

flowbot's People

Contributors

gempesaw avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

flowbot's Issues

[Feature] Daily Lunch Options

A command that lists day-specific lunch deals we know about.

Example output:

User: .lunch
flowbot: Lunch deals for today:

  • Double Stamp Tuesday at Fado's
  • $3 discount on pies at YourPie!

Data could be stored in a local database, a service like contentful or a plaintext file on the filesystem.

[Feature] Store data separately from code

Right now data is stored within the application. I think it would be more convenient to store data in a separate data-source. That way content could be updated without restarting the application.

I suggest using contentful. It's free and pretty easy to set up. Also there is a Javascript API.

A few other ideas:

  • Local database
  • Other database service like firebase, etc.
  • JSON files in a /data directory

Hosting our own service (with a service like Digital Ocean) would be another option, but too much work. ๐Ÿ’ฉ

[Feature] allow simple user defined commands

  • .set commandName response: After anyone runs this command, .commandName becomes a valid command, and flowbot should return response to it. Rerunning this command with a different response should overwrite the previous value, allowing for maximum troll. Additionally, these should be available via 1-on-1 chat, so that things can be really confusing.
  • .unset commandName: This should delete the .commandName user defined command. It should not be able to delete a hardcoded commands. If .commandName doesn't match an existing user defined command, no-op.
  • .help: The .help command should have a new section for user defined commands

Probably the thing most of interest here is where to store the commands. See #7. Writing them all to one json file seems okay, except then we'll get simultaneous read/write issues, so maybe each command is a separate file? (name of file is command, file contents is response?). Or, contentful/firebase/what have you...

[deps bug] replace node-flowdock dep

node-flowdock currently depends on buffertools which doesn't install on windows and I'm too lazy to figure out why. BUT! we can make a branch on our fork of node-flowdock, merge the two outstanding PRs, and reference our fork branch directly in package.json and hopefully circumvent the dependency issue entirely.

also then @mnguyen36 won't have an excuse not to test c:

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.