lib/ruboty/robot.rb in ruboty-1.1.0 vs lib/ruboty/robot.rb in ruboty-1.1.1
- old
+ new
@@ -29,9 +29,15 @@
handler.call(message, missing: true)
end
end
end
+ # @return [true] Because it needs to tell that an action is matched.
+ def say(*args)
+ adapter.say(*args)
+ true
+ end
+
# ROBOT_NAME is deprecated.
def name
ENV["RUBOTY_NAME"] || ENV["ROBOT_NAME"] || DEFAULT_ROBOT_NAME
end