hubot star me, but for slack
CoffeeScript JavaScript Shell
Latest commit 8dbbe12 Dec 1, 2015 @jonrohan 0.2.0


A hubot script like /star me except for slack reactions. Suggestions welcome read over the contributing guidelines.

See src/ for full documentation.


Star me is what we would use at GitHub to pull random campfire stars from the api and post them in chat. We would use this feature to

  • star me -1year Laugh about what we were saying a year ago today
  • star me pizza Laugh about people talking about pizza
  • star me today Catch up on the highlights from the chat room.

Slack uses emoji reactions for all sorts of fun. This script does the same as the old star me, but uses reactions. There's even some useful shortcuts

  • star me Get messages with reaction ⭐️
  • zap me Get messages with reaction ⚡️
  • react me :poop: Get messages with reaction 💩
  • react me @jonrohan :poop: -1year Get the messages from jonrohan with reaction 💩 from one year ago today


You'll need to get your Slack API Auth token. Once you've gotten it for your org, set it as an environment variable.

export SLACK_ACCESS_TOKEN=xxxxxxxx


In hubot project repo, run:

npm install hubot-slack-reactions --save

Then add hubot-slack-reactions to your external-scripts.json:


Sample Interaction

user1>> hubot react me -1year



MIT © Jon Rohan