This repository contains the source for @TheOverseer, the analytics bot at Hack Club.
The Overseer is split into
- The Backend -- A script that runs on the hour and computes Analytics
- The Frontend (This) -- Listeners for the bot's slash commands and channel-join events
Run
yarn start
to start listening for Slack events
-
/analytics-apply
- Apply to add a channel to Hack Club Analytics. This should be run by every member, in every channel, provided that the channel has humans talking to each other.-
Examples of channels that qualify:
- #lounge
- #code
- #confessions
-
Examples of channels that don't qualify:
- #xyzusercountstoamillion
- #spam
- #bot-spam
- #sandbox
-
-
/analytics-leaderboard
- Show the Analytics leaderboard -
/analytics-personal
- Show your own position in the leaderboard and the amount of messages you've posted -
/analytics-user @abcuser
- Show a particular user's position in the leaderboard and the amound of messages they've posted
/analytics-enable
- Enable Analytics for a channel/analytics-disable
- Disable Analytics for a channel