radicalius / rocket-taco Goto Github PK
View Code? Open in Web Editor NEWHey Taco! inspired Rocket.Chat Bot
Hey Taco! inspired Rocket.Chat Bot
curl \
-d '{"bot":false,"trigger_word":":taco:","channel_id":"TJf7cJcJjZDj3kFct","channel_name":"channel","message_id":"5xEFvg23JzH7BSPNx","timestamp":"2019-07-27T21:18:35.319Z","user_id":"F9YKW787Y4bbtYuJu","user_name":"zac","text":":taco: @user"}' \
localhost:4567/taco?channel=channel
Direct message user when they hit specific thresholds for tacos given / received.
Add a !rank command to give you your total tacos given / received and level.
Level | Delta Tacos | Total |
---|---|---|
1 | 10 | 10 |
2 | 15 | 25 |
3 | 20 | 45 |
4 | 25 | 70 |
5 | 30 | 100 |
6 | 35 | 135 |
7 | 40 | 175 |
8 | 45 | 220 |
9 | 50 | 270 |
Maybe run as a cron
job inside the container?
Currently assuming that the bot is on the same machine as the Rocket.chat server and using localhost
when setting up the integrations.
Need a way to display the full leader board. Should be able to be sorted by time frame and channel.
Need to replace all queries to the database with prepared statements
Currently have individual leader boards for each channel. Might be nice to have a leaderboard that aggregates stats over all rocket-taco channels on the server
Explain how to install and setup the bot.
Perhaps using Bootstrap: https://getbootstrap.com/
Want settings to persist between launches of the bot.
Maybe Postgres?
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.