Check it out in #high-seas-kudos on the Hack Club Slack! Run /sailorslog on
in any channel to start.
Every time you reach an hour coding on a project, @Sailor's Log
will post a message like this to congratulate you:
You can also see a leaderboard of everyone in the current channel by running /sailorslog leaderboard
.
Slack:
/sailorslog on
in any channel to opt in- TODO
/sailorslog leaderboard on
to enable the leaderboard for all opted in users in the channel /sailorslog leaderboard
to see the current leaderboard for the channel they're in (message visible only to them)
Sample message: “@zrl just reached 2 hours coding on etl-scripts (LINKED if repo exists) in High Seas (LINKED). Nice work!”
Sample leaderboard:
Today's leaderboard:
1. zrl - 2 hours (projectName (LINKED if repo exists) & projectName in Java, C#, and Bash)
2. zrl - 1 hour
3. zrl - 1 hour
Poll for new heartbeats
When new heartbeats come in, see which users had heartbeats
Make an API request to see their current hours toward projects
Save the API response in the DB so we can calculate the leaderboard later
If they've reached an hour, post a message to Slack