Sha256: e2531603c0596da34793988abf9c63c097530bd797a8fd067413368de77db648

Contents?: true

Size: 321 Bytes

Versions: 2

Compression:

Stored size: 321 Bytes

Contents

module Ruboty
  module SlackReactionAdded
    module Actions
      class ReactionName < Ruboty::Actions::Base

        def call
          unless message.reaction_by == Ruboty::Robot.name
            message.reply(":#{message.reaction}: => `:#{message.reaction}:`")
          end
        end

      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruboty-slack_reaction_added-0.5.0 lib/ruboty/slack_reaction_added/actions/reaction_name.rb
ruboty-slack_reaction_added-0.4.0 lib/ruboty/slack_reaction_added/actions/reaction_name.rb