Sha256: 3ac713d848806e95a9f2f90b1e84290e4164d32d438397938ac29b2869005efe
Contents?: true
Size: 354 Bytes
Versions: 10
Compression:
Stored size: 354 Bytes
Contents
module Ruboty::Actions::Ragoon class Remind < ::Ruboty::Actions::Base include ::Ruboty::Actions::Ragoon def call reminder = ::Ruboty::Ragoon::Remind.new(message.robot.brain) events = reminder.retrieve if events.count > 0 message.reply(events.render(private: private?, template: 'remind')) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems