Sha256: 5965c7342ae472fd2595e33af93f6cac100a55e6133cae9ff002d939fbb83253

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

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

        def call
          unless message.reaction_by == message.robot.name
            message.reply(":#{message.reaction}: => `:#{message.reaction}:`")
          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/reaction_name.rb