Class: Hahamut::Message::Command
- Defined in:
- lib/hahamut/message/command.rb
Overview
Command Message
Instance Attribute Summary
Attributes inherited from Base
Attributes included from Support::Attributes
Class Method Summary collapse
Instance Method Summary collapse
-
#type ⇒ Object
Unsupport.
Methods inherited from Base
#as_json, #initialize, #to_json
Methods included from Support::Attributes
Constructor Details
This class inherits a constructor from Hahamut::Message::Base
Class Method Details
.match?(message) ⇒ Boolean
8 9 10 |
# File 'lib/hahamut/message/command.rb', line 8 def match?() ['message']&.key?('bot_command') end |
Instance Method Details
#type ⇒ Object
Unsupport
17 18 19 |
# File 'lib/hahamut/message/command.rb', line 17 def type nil end |