module Ruboty
  module Kinoco
    class Handler < Ruboty::Handlers::Base
      on(/ohayo(?<date>\Z|\s+.+)/,    name: 'ohayo',    hidden: true, description: 'show morning greet')
      on(/otsukare(?<date>\Z|\s+.+)/, name: 'otsukare', hidden: true, description: 'show after-work greet')

      def ohayo(message)
        message.reply('おはようございます。今日の予定です。')
        Ruboty::Actions::Ragoon::Event.new(message).call
        message.reply('kinoco livedoor_weather')
      end

      def otsukare(message)
        date = Date.easy_parse(message[:date])

        date_str = case date
                   when Date.today
                     '今日'
                   when Date.today + 1
                     '明日'
                   else
                     date.strftime('%F')
                   end

        message.reply("おつかれさまでした。#{date_str}の予定です。")
        ::Ruboty::Actions::Ragoon::Event.new(message).call
      end
    end
  end
end

module Ruboty
  module Kinoco
    class Handler < Ruboty::Handlers::Base
      on(/ohayo(?<date>\Z|\s+.+)/,    name: 'ohayo',    hidden: true, description: 'show morning greet')
      on(/otsukare(?<date>\Z|\s+.+)/, name: 'otsukare', hidden: true, description: 'show after-work greet')

      def ohayo(message)
        message.reply('おはようございます。今日の予定です。')
        Ruboty::Actions::Ragoon::Event.new(message).call
      end

      def otsukare(message)
        date = Date.easy_parse(message[:date])

        date_str = case date
                   when Date.today
                     '今日'
                   when Date.today + 1
                     '明日'
                   else
                     date.strftime('%F')
                   end

        message.reply("おつかれさまでした。#{date_str}の予定です。")
        Ruboty::Actions::Ragoon::Event.new(message).call
      end
    end
  end
end

Remove not working self reply
:hocho: Remove not working self reply
