mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-11 01:27:29 +08:00
fix: stats -> status
This commit is contained in:
parent
cd0812af42
commit
f2fda7f92e
@ -14,7 +14,7 @@ category: 使用手册
|
||||
reload-liteyuki # 重载轻雪
|
||||
update-liteyuki # 更新轻雪
|
||||
liteecho # 查看当前bot
|
||||
stats # 查看统计信息和状态
|
||||
status # 查看统计信息和状态
|
||||
config set <key> value # 添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的
|
||||
config get [key] # 查询配置项,不带key返回配置项列表,推荐私聊使用
|
||||
switch-image-mode # 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,
|
||||
@ -26,7 +26,7 @@ liteyuki-docs # 查看轻雪文档
|
||||
命令别名
|
||||
|
||||
```shell
|
||||
stats status 状态,
|
||||
status 状态,
|
||||
reload-liteyuki 重启轻雪,
|
||||
update-liteyuki 更新轻雪,
|
||||
reload-resources 重载资源,
|
||||
|
@ -15,7 +15,7 @@ from liteyuki.utils.ly_typing import T_Bot, T_MessageEvent
|
||||
from liteyuki.utils.resource import get_path
|
||||
from liteyuki.utils.tools import convert_size
|
||||
|
||||
stats = on_command("stats", aliases={"状态"}, priority=5, permission=SUPERUSER)
|
||||
stats = on_command("status", aliases={"状态"}, priority=5, permission=SUPERUSER)
|
||||
|
||||
config = load_from_yaml("config.yml")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user