Class: Ruboty::DMM::Actions::Messenger
- Inherits:
-
Actions::Base
- Object
- Actions::Base
- Ruboty::DMM::Actions::Messenger
- Defined in:
- lib/ruboty/dmm/actions/messenger.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/ruboty/dmm/actions/messenger.rb', line 5 def call = Ruboty::DMM::Ranking.new(.match_data).arts term = term_converter(.match_data[:term]) .reply("#{term}のランキングです。", attachments: ) # temporary ignoring tags. I have to add interface for tags rescue => exception .reply("Failed by #{exception.class}") end |