Module: Mchat::Command::BossMode

Defined in:
lib/mchat/commands/bossmode.rb

Overview

Command Clear

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/bossmode.rb', line 5

def self.configure(repl)
  CommandConditions.push({
    name: 'bossmode',
    description: "b[ossmode]\tclean mchat screen & print fake logs",
    help_condition: ['bossmode'],
    help_doc: :bossmode_help_doc,
    command_condition: ['/bossmode', '/b'],
    command_run: :bossmode_command_run
  })
end