Inheritance: implements BotInterface, implements Crummy\Phlack\Common\Matcher\MatcherAggregate
Beispiel #1
0
 /**
  * @param string             $commandName
  * @param ExpressionLanguage $language
  */
 public function __construct($commandName = '/expr', ExpressionLanguage $language = null)
 {
     $this->language = $language ?: new ExpressionLanguage();
     parent::__construct(new CommandMatcher($commandName));
 }