Comments (4)
Hi Aaron, thanks for dropping by and for using the app!
Good idea - one issue would be allowing anyone to potentially reset the leaderboard, which is probably not ideal. I might be able to get the user ID from the Slack API of the person who installed the app; would it be suitable then for you if only that user could reset the leaderboard?
In the meantime, you can reset it through Heroku by removing the Postgres addon and re-adding it - essentially dropping the data and starting fresh.
Regarding updates, that’s a good question - 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. I’ll create a separate issue for looking into it.
Thanks again for the feedback - it’s nice to know this little project is useful for others too!
from working-plusplus.
Hey Tim,
Yeah, I believe that's how PlusPlus handles it (by having the person who installed it as the only user who can reset the leaderboard). So yeah, that'd be suitable.
I'll try and figure out how to remove the Postgres addon, hopefully it's pretty simple. I'm pretty new to Heroku having only used it for one other thing. I'd love to be able to dig in and mess around with the leaderboard theme files (as I'm more familiar with HTML/CSS), I just need to work out how... haha.
Happy to help, believe me, we've been frustrated with PlusPlus for too long, it's just so inconsistent. As soon as we installed this, it was all fun again!
from working-plusplus.
we've been frustrated with PlusPlus for too long, it's just so inconsistent. As soon as we installed this, it was all fun again!
That’s exactly why I created this haha! How did you come across this repo by the way? Was it just searching for PlusPlus alternatives?
I'd love to be able to dig in and mess around with the leaderboard theme files (as I'm more familiar with HTML/CSS), I just need to work out how... haha.
You’re more than welcome to fork this repo and edit the theme files to make them better, then submit a pull request back. If you haven’t done this before I’d be happy to step you through the process.
I’m not much of a frontend person so there’s a lot better the HTML leaderboard could be ;)
I'll try and figure out how to remove the Postgres addon, hopefully it's pretty simple.
It is - I’m on mobile at the moment so can’t easily get proper screenshots, but if you log in to the Heroku web interface, go to your app and then to the Addons section, it should be fairly straightforward. After re-adding Heroku Postgres again, the app will simply pick up that the database is empty and will re-create the necessary tables (just like it does at first install).
I’ll have a look into the leaderboard reset command.
from working-plusplus.
Hey Tim,
That’s exactly why I created this haha! How did you come across this repo by the way? Was it just searching for PlusPlus alternatives?
I wish it were that simple. Searching for alternatives came up with nothing but apps which charge premium after a trial (Karma Bot, HeyTaco, etc. etc.) I actually came across this looking for how to create Slack bots w/ Heroku (as I used Heroku previously for a Twitter bot I have). And surprisingly yours was exactly what I was looking for so I didn't have to do much of the leg work, so thank you for that ;)
You’re more than welcome to fork this repo and edit the theme files to make them better, then submit a pull request back. If you haven’t done this before I’d be happy to step you through the process.
I'll definitely take a look at that this weekend!
from working-plusplus.
Related Issues (15)
- Support posting back messages within threads, rather than jumping back out to the channel
- Add option to deduct karma instead of adding karma when someone tries to give themselves karma
- Add option to disable karma deduction for people
- @karmabot++ and @karmabot ++ is space sensitive and winds up with two Karmabot entries HOT 3
- When the bot is given points, it also tries to interpret it as a command HOT 1
- Detect edits to posts?
- Add an (optional) feature for mass ++'ing to a team HOT 2
- Bot does not respond to my slack calls. HOT 1
- help and leaderboard commands are case sensitive
- postgres.connect hangs HOT 1
- Document how to update the app HOT 2
- Record and show how many karma points someone has given
- Support multiple actions within one message HOT 3
- Add a way to look up someone's karma without necessarily ++'ing or --'ing them HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from working-plusplus.