Sha256: 230e242c51cfdb3197558b044a8abdd11f507a99346630c0f323e1c07991ebf0

Contents?: true

Size: 277 Bytes

Versions: 1

Compression:

Stored size: 277 Bytes

Contents

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

        def call
          unless message.reaction_by == message.robot.name
            message.reply('pong')
          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_ping.rb