Skip to content

ls-michielrensen/hubot-slack-reaction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack Reactions for hubot-slack

Give hubot the power to respond with a reaction on a message in Slack

To use slack.reaction events, just run the following in your hubot repository:

npm install hubot-slack-reaction --save

And then add hubot-slack-reaction to external-scripts.json.

This requires hubot-slack and uses the HUBOT_SLACK_TOKEN to work its magic.

Usage

Emit a slack.reaction event with the following parameters:

robot.emit 'slack.reaction',
    message: msg.message
    name: 'beer' # the name of the reaction with the :

Attribution

The idea was born when reading hubot-slack-attachment and much of the structure comes form that project.

Kudos to:

License

This software is licensed under MIT License. See LICENSE for more details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published