Module: Mchat::Command::Name
- Defined in:
- lib/mchat/commands/name.rb
Overview
Command Join
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/name.rb', line 5 def self.configure(repl) CommandConditions.push({ name: 'name', description: "n[ame]\t\tset name in channel", help_condition: ['name','n'], help_doc: :name_help_doc, command_condition: ['/name', /\/name (.*)/, '/n', /\/n (.*)/], command_run: :name_command_run }) end |