Class: Ruboty::Chinachu::Actions::Recording

Inherits:
Base
  • Object
show all
Defined in:
lib/ruboty/chinachu/actions/recording.rb

Constant Summary

Constants inherited from Base

Base::PROGRAM_FORMAT

Instance Method Summary collapse

Methods inherited from Base

#chinachu, #chinachu_options

Instance Method Details

#callObject



6
7
8
# File 'lib/ruboty/chinachu/actions/recording.rb', line 6

def call
  message.reply(recording.map { |p| summary(p, PROGRAM_FORMAT) }, code: true)
end

#recordingObject



10
11
12
# File 'lib/ruboty/chinachu/actions/recording.rb', line 10

def recording
  chinachu.recording
end