{"id":17696821,"url":"https://github.com/datashaman/mrtallyman","last_synced_at":"2026-03-09T23:01:31.413Z","repository":{"id":44194630,"uuid":"152968988","full_name":"datashaman/mrtallyman","owner":"datashaman","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-27T06:52:15.000Z","size":1094,"stargazers_count":3,"open_issues_count":8,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-19T01:49:15.641Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datashaman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-10-14T11:58:35.000Z","updated_at":"2024-01-13T09:48:12.000Z","dependencies_parsed_at":"2025-03-13T00:31:19.761Z","dependency_job_id":"4091be0b-1a1d-435a-95a6-795066f155ef","html_url":"https://github.com/datashaman/mrtallyman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datashaman/mrtallyman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datashaman%2Fmrtallyman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datashaman%2Fmrtallyman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datashaman%2Fmrtallyman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datashaman%2Fmrtallyman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datashaman","download_url":"https://codeload.github.com/datashaman/mrtallyman/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datashaman%2Fmrtallyman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30315944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-24T14:45:26.506Z","updated_at":"2026-03-09T23:01:31.391Z","avatar_url":"https://github.com/datashaman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mrtallyman\n\nSlack bot that tallies scores for a team. Uses MySQL to store results and multiprocessing.Process to handle long running tasks.\n\nSetup an app and a bot on Slack, deploy the app to a host somewhere. Verify the Request URL and subscribe to the following events:\n\n- `app_mention`\n- `message.channels`\n- `message.im`\n- `reaction_added`\n- `reaction_removed`\n\nGrant the following OAuth scopes to the bot:\n\n- `bot`\n- `channels:history`\n- `im:history`\n- `reactions:read`\n\n## Local Development\n\nInstallation (production):\n\n    mkvirtualenv -r requirements.txt mrtallyman\n\nInstallation (testing and development):\n\n    mkvirtualenv -r requirements-testing.txt mrtallyman\n\nConfiguration for development:\n\n    cp .env.example .env\n\nEdit the .env to match your app's details.\n\nRunning:\n\n    flask run\n\n## Operations\n\nThe bot must be invited to a channel to respond to events.\n\nTo reward a user, mention them in a message with a variable number of reward emojis (default :banana:):\n\n    @user1 here have a :banana:\n    @user2 @user3 you deserve 2! :banana: :banana:\n\nMentions such as the above cannot be edited to remove the reward. Once it's posted, it's scored.\n\nAnother way to reward a user is to add a :banana: reaction to their messages.\n\nAs a public service to all, you can also mark a user as a troll by adding a _troll_ reaction to a message of theirs.\n\nRemoving a reaction of :banana: or :troll: will reduce the score of the user appropriately.\n\nA user cannot reward themselves or bot users, either by app mentions or reactions.\n\nTo see the leaderboard use one of the following:\n\n    @mrtallyman bananas\n    @mrtallyman leaderboard\n    @mrtallyman tally\n\nThe leaderboard shows the names of the top users who've given and received rewards since the last table reset, as well as the _troll_ scores.\n\nIt displays names instead of user mentions to avoid notification fatigue when someone wants to see the leaderboard.\n\nTo see your own scores use one of the following:\n\n    @mrtallyman tallyme\n    @mrtallyman tally me\n\nAll of the above app mentions can also be used in a private channel with the bot (without the bot prefix):\n\n    bananas\n    leaderboard\n    tally\n    tallyme\n    tally me\n\nIf you are an admin in the workspace or your username is in the comma-separated environment variable _ADMINS_, you can privately message the bot to reset the leaderboards:\n\n    reset!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatashaman%2Fmrtallyman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatashaman%2Fmrtallyman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatashaman%2Fmrtallyman/lists"}