Class: Ruboty::SlackReactionAdded::Actions::ReactionName

Inherits:
Actions::Base
  • Object
show all
Defined in:
lib/ruboty/slack_reaction_added/actions/reaction_name.rb

Instance Method Summary collapse

Instance Method Details

#callObject



7
8
9
10
11
# File 'lib/ruboty/slack_reaction_added/actions/reaction_name.rb', line 7

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