Class: Ruboty::Actions::Help
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Ruboty::Actions::Base
Instance Method Details
#call ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/ruboty/actions/help.rb', line 4 def call descriptions = filtered_descriptions if descriptions.empty? .reply("No description matched to '#{[:filter]}'") else .reply(descriptions.join("\n"), code: true) end end |