public __construct ( $name = 'phlackbot', $version = 'UNKNOWN', |
||
$botCommand | The BotCommand that executes for this ShellBot. |
public function __construct($name = 'phlackbot', $version = 'UNKNOWN', BotCommand $botCommand = null)
{
$this->bot = $botCommand ?: new BotCommand(new ConsoleAdapter(new Mainframe()));
parent::__construct($name, $version);
}