Sha256: c73ef49f953678a0834254cd05499a87a39309b0a2356eaea5a9e13f181fff9d
Contents?: true
Size: 296 Bytes
Versions: 3
Compression:
Stored size: 296 Bytes
Contents
module Hipbot module Callbacks class PrivateMessage < Message def initialize user_id, message_body with_user(id: user_id) do |user| return if ignore_message?(user, message_body) Hipbot.react(user, nil, message_body) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hipbot-1.0.4 | lib/hipbot/callbacks/private_message.rb |
hipbot-1.0.3 | lib/hipbot/callbacks/private_message.rb |
hipbot-1.0.0 | lib/hipbot/callbacks/private_message.rb |