operationcode-pybot icon indicating copy to clipboard operation
operationcode-pybot copied to clipboard

Engagement Leaderboards

Open Digbigpig opened this issue 6 years ago • 2 comments

Have a hiscores command to display slack and github metrics.

This feature would:

  • Award points to users for certain activities in slack. (1 point for messaging, 5 points for introducing new members, etc)
  • Award points for GitHub actions (Merged PR - 50 points, comment - 1 point, etc)
  • Display a rolling monthly hiscore list. It could also give achievements for "Most Helpful - Most active in #help" etc.

This was just an idea for a feature we could hypothetically have and Conrad asked me to make the issue a few weeks back.

Digbigpig avatar Jul 25 '19 23:07 Digbigpig

Would this be similar to using the Karma bot for Slack?

ivanmartinezmorales avatar Sep 25 '19 17:09 ivanmartinezmorales

The way I could see this working is to have the message information stored in Airtable - so process messages across the entire team/workspace, grab the usernames, and maybe have a weighted system of points for channels? So posts in #help are worth more than posts in #random. Don't think we should get too crazy with it and just keep it very simple. To tie in Github information we would need to set up a webhook or two to monitor the OC repos and have it fire on PR merges, passing along the email/name of the user who wrote the PR. Similar for comments.

The initial trick will be matching those up to Slack user information - if they have the same email or similar names it shouldn't be too hard. This could be tied to a slash command or !command that would show the current leaderboard in a simple table format.

That's my initial thoughts at least, happy to discuss it further.

JudsonStevens avatar Jan 01 '22 23:01 JudsonStevens