chralp / heyburrito Goto Github PK
View Code? Open in Web Editor NEWSlack application HeyBurrito! :burrito:
License: MIT License
Slack application HeyBurrito! :burrito:
License: MIT License
New feature to enable overdraw daily given burritos. Sometimes you maybe want to give more burritos then 5. But not increase the daily burrito cap and create a burrito inflation :) . The new idรฉ is to set up av new form of cap ( overdraw cap ), where u can set it to maybe 5 and the overdraw burritos will be draw from the users own points.
Which means that a user can send ( in this case ) up to 10 burritos per day, but 5 of those will be drawn from the users own score.
Shouldn't :rottenburrito: subtract from the score rather than add to it?
Get data and show totals => Got, given - stas under each card.
Needed or not, a more powerful structure opens up a few new possibilities. Like periodical data, trends etc.
Today we can get stats for who have been giving UserOne most burritos.
Can we to it the other way ? Do we want to do it the other way ?
Returning info of who UserOne have been giving must burritos / ruttenburritos to ?
A little more stylish iYKwIM
test issue
config.ts should install linked git repo if THEME is provided.
ex: process.env.THEME=https://github.com/tbleckert/cardi-burrito
System should check if project folder( cardi-burrito ) exists in www/theme/.
If cardi-burrito exists under www/theme, then set THEMEpath to www/theme/cardi-burrito
Else, download theme and set THEMEpath to www/theme/cardi-burrito
Awesome App!
Mostly an FYI for others, in the sample docker-compose.yml, the rottenburrito environment variable has INC instead of DEC. We did not catch it right away and thought it wasn't working with slack.
- "SLACK_EMOJI_INC=:rottenburrito:" ----> - "SLACK_EMOJI_DEC=:rottenburrito:"
Also, just curious if there would be a way to capture the comments with the burritos that are given? When/if you click on the name of the person that gave the burritos, it would show the individual comments? We will look into it too. Thanks.
Make it accessible directly from mergeUserData.
How to handle release notes when maintaining repo.
I just wanted to flag a small issue. With the BOT_NAME environment key set to heyburrito
, and the options as shown in the below screenshot, the bot is unable to find the heyburrito bot on the slack account.
Changing Full Name from HeyBurrito to heyburrito fixes this. I would have expected that value to be anything, and not what is set in BOT_NAME, and instead BOT_NAME to relate to the bot account.
It may be worth clarification in the README to ensure these are the same value.
New feature that enables level up / rank system.
The idea is when reach X amount of received burritos you level up and the your score starts over from 1.
Since its calculated in the code you will be able to jump between rank / level system or not without losing your total score.
Tests needed !
Script should:
gitrepo and docker image
When setting up the bot for the first time on Heroku, it seems to display this error.
Environment configuration is shown below:
I believe I have covered all of the necessary environment variables.
I imagine this is in particular regard to how Heroku works, so I'll investigate and add findings here if I can figure it out.
If you've encountered this before, do you know the fix?
on => getUserStats
emit => userStats
Result => Will return full user info with stats
2
on => getReceivedList
emit => receivedList
Result => Will return full list of all users with received stats ( orderd decending )
on => getGivenList
emit => GivenList
Result => Will return full list of all users with given stats ( orderd decending )
Issue sometimes to register several burritos.
ex: @user ๐ฏ ๐ฏ ๐ฏ ๐ฏ ๐ฏ
heyburrito registers only 3-4 sometimes.
We want to changing the name of the application from heyburrito to something else. Since the application is not bounden to burritos. It was more a fun way to get this project started.
Drop some names and star the good ones.
Validation crashes when updating / editing message sent.
/home/chralp/dev/chralp/heyburrito/app/lib/validator.ts:30
const selfMention = message.text.match(<@${message.user}>
) ? true : false
^
TypeError: Cannot read property 'match' of undefined
When received "too many" :rottenburrito: 's user gets negativ points.
Should always start and stop at 0.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.