🎨 improve command implementation

This commit is contained in:
yanyongyu
2020-10-22 22:08:19 +08:00
parent d9f8bf38c6
commit 32388d070d
5 changed files with 36 additions and 67 deletions

View File

@ -394,9 +394,6 @@ sidebarDepth: 0
* `Type[Matcher]`
* `MatcherGroup`
## `on_regex(pattern, flags=0, rule=None, **kwargs)`
@ -510,9 +507,6 @@ sidebarDepth: 0
* `Type[Matcher]`
* `MatcherGroup`
## `load_plugin(module_path)`

View File

@ -139,7 +139,7 @@ Rule(async_function, run_sync(sync_function))
## `command(command)`
## `command(*cmds)`
* **说明**
@ -151,7 +151,7 @@ Rule(async_function, run_sync(sync_function))
* **参数**
* `command: Tuples[str, ...]`: 命令内容
* `*cmds: Union[str, Tuple[str, ...]]`: 命令内容