Giter Site home page Giter Site logo

tdmalone / working-plusplus Goto Github PK

View Code? Open in Web Editor NEW
22.0 4.0 39.0 687 KB

Like plusplus.chat, but one that actually works, because you can host it yourself 😉

License: MIT License

JavaScript 96.84% Shell 0.66% CSS 1.47% HTML 0.95% Procfile 0.08%
slack karma

working-plusplus's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

working-plusplus's Issues

Detect edits to posts?

Currently, if you send eg.

@tim is awesome

and then edit it to read:

@tim++ is awesome

it will not be picked up. You'd have to write the latter as a new post.

It'd be nice to pick this up automatically.

But... would it be feasible? We'd need some sort of state management to avoid reacting again if the message was edited again.

Also, if someone edits a message to remove an action, should we undo it?

Bot does not respond to my slack calls.

I installed on a local web server, but this is the only output. Not sure if it's related to npm module versions.

::ffff:x.x.x.x POST / Slackbot 1.0 (+https://api.slack.com/robots)
TypeError: Cannot read property 'trim' of undefined
at validateToken (/root/working-plusplus-master/src/app.js:52:22)
at handlePost (/root/working-plusplus-master/src/app.js:128:22)
at Layer.handle [as handle_request] (/root/working-plusplus-master/node_modules/express/lib/router/layer.js:95:5)
at next (/root/working-plusplus-master/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/root/working-plusplus-master/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/root/working-plusplus-master/node_modules/express/lib/router/layer.js:95:5)
at /root/working-plusplus-master/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/root/working-plusplus-master/node_modules/express/lib/router/index.js:335:12)
at next (/root/working-plusplus-master/node_modules/express/lib/router/index.js:275:10)
at /root/working-plusplus-master/node_modules/body-parser/lib/read.js:130:5

Ability to reset leaderboard

We'd love an option to reset the leaderboard, like PlusPlus, you DM the bot "leaderboard reset" and it wipes the slate clean.

Also, a silly question as I'm a bit new when it comes to stuff like this, but how would one make sure the Heroku is updated with the latest version?

postgres.connect hangs

I've installed the app with Heroku, added the postgres addon, inserted the env variables for tokens and DATABASE_URL, and I'm able to get a response from @bot help and even self plus, but after adding some logging, I see that postgres.connect() hangs forever.

Am I missing something?

Add an (optional) feature for mass ++'ing to a team

Likely based on Slack groups.

Would likely need to retrieve the group and individually ++ everyone in it.
Possibly then with a quick response listing each person that was ++'ed? Scores probably not important.

Document how to update the app

Splitting this question out from #4.

how would one make sure the Heroku is updated with the latest version?

I’ve got mine directly authed to my GitHub account which obviously isn’t suitable for anyone else, and I’ve been meaning to look into what others do for this.

Need to work out a simple flow and then add it to the README.

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.