usmonster / emoji-master Goto Github PK
View Code? Open in Web Editor NEWEmoji Master turns Slack "reacjis" into a passive competition! Who is the Emoji Master in *your* organization?
License: ISC License
Emoji Master turns Slack "reacjis" into a passive competition! Who is the Emoji Master in *your* organization?
License: ISC License
await
all the way, man.
Hello.
@diwann from Blablacar showed me this application (I guess), and I like it.
I would like to setup it on our slack.
Could you provide installation instruction ? ๐
Thanks
...and not publicly accessible endpoints ๐
...by listening to events and doing something clever with WebSockets.
To thwart or at least reduce reacji spam score-boosting tactics, scoring rules should be fairer by only counting players' highest or perhaps only the average reacji score per message.
Show top N (~25?) by default.
Only include users for whom this evaluates to true
:
user.deleted === false && user.is_ultra_restricted === false && user.is_bot === false && user.is_app_user === false
If needed, maybe use a heuristic to avoid extra API calls, e.g.: is_inactive = user.real_name === user.display_name
Optionally add a parameter to include them in the leaderboard?
E.g.:
Leaderboard - This Month
usmonster 513 (๐+3)
Tip-Sy 321 (๐-1)
Note: Depends on #5.
Also: all-time? (see #6)
It's a best practice, after all.
...via parameter to be included in slash command response's "See more" link.
And deploy elsewhere, e.g. Render...
...before November 28, 2022. โณ
The API limits us to 1000 messages per request, so maybe by specifying time bounds and slowly paging backwards through all messages we can count all points from.. gah I'm tired just writing this sentence, maybe this is a bad idea?
(Or maybe we should only look at the current calendar year, max?)
Also: make "top 3" emojis customizable? (separate feature?)
And/or add an /emojimaster me
to get my own rank?
Add logging levels, dev mode, etc.
Instead of a single-channel leaderboard, make it "global".
(Related to #2.)
Instead of sending stuff to the channel, send it directly to the person who used the command.
Web: Show different channel leaderboards as tabs on the table, or just parse a channel
parameter.
Bot command: response should be relative to the current channel (if public).
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.