Sha256: f556ed580fd518fd92bff9a7313f7a19f481d67efa439d1d9769876107bd753c
Contents?: true
Size: 456 Bytes
Versions: 1
Compression:
Stored size: 456 Bytes
Contents
module Ruboty module SlackReactionAdded module Actions class Thumbup < Ruboty::Actions::Base def call # Ruboty.logger.info message.reaction # Ruboty.logger.info message.reaction_by unless message.reaction_by == message.robot.name case message.reaction when '+1' message.add_reaction('thumbsup') end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruboty-slack_reaction_added-0.6.0 | lib/ruboty/slack_reaction_added/actions/thumbup.rb |