add CQCommand alias

switch spl_autoload to psr-4 autoload
This commit is contained in:
whale
2020-06-13 11:28:31 +08:00
parent 5fd45c2542
commit 3b8aac5d8f
6 changed files with 41 additions and 13 deletions

View File

@@ -19,6 +19,8 @@ class CQCommand extends AnnotationBase implements Level
public $match = "";
/** @var string */
public $regexMatch = "";
/** @var string[] */
public $alias = [];
/** @var int */
public $level = 20;
@@ -32,4 +34,4 @@ class CQCommand extends AnnotationBase implements Level
*/
public function setLevel(int $level) { $this->level = $level; }
}
}