Module: Mchat::Command::Message
- Defined in:
- lib/mchat/commands/message.rb
Overview
Command Message
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.configure(repl) ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/mchat/commands/message.rb', line 5 def self.configure(repl) CommandConditions.push({ name: 'message', description: "m[essage]\tsend message in channel", help_condition: ['message','m'], help_doc: :message_help_doc, command_condition: ['/message', /\/message (.*)/, '/m', /\/m (.*)/], command_run: :message_command_run }) end |