From 0cc9fd7a76d5167db5877e39bf4c1dab93cadfd6 Mon Sep 17 00:00:00 2001 From: iwumingz Date: Mon, 11 Apr 2022 15:54:54 +0800 Subject: [PATCH] Update description --- data/command.yml | 3 +-- plugins/update.py | 2 +- plugins/updown.py | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/data/command.yml b/data/command.yml index c23200d..38f2c19 100644 --- a/data/command.yml +++ b/data/command.yml @@ -1,5 +1,4 @@ # 注意,如无修改能力,勿随意更改顶级的Key -# 建议:如无修改能力,勿改动容器名,即sycgram # 按需改动 # 指令 - 例子 - 格式 @@ -155,7 +154,7 @@ upload: download: cmd: download format: -download <无|文件路径> - usage: 回复一条文件/视频/图片/音乐等可下载的消息。如无指定文件路径,则默认存放至容器默认挂载的目录 + usage: 回复一条文件/视频/图片/音乐等可下载的消息。如无指定文件路径,则默认存放至data目录 ip: cmd: ip diff --git a/plugins/update.py b/plugins/update.py index 110a618..45a3b58 100644 --- a/plugins/update.py +++ b/plugins/update.py @@ -16,7 +16,7 @@ from tools.updates import (get_alias_of_cmds, is_latest_version, @Client.on_message(command("restart")) async def restart(_: Client, msg: Message): - """重启容器""" + """重启""" text = f"**{SYCGRAM_INFO}**\n> # `Restarting {SYCGRAM} ...`" await msg.edit_text(text=text, parse_mode='md') sys.exit() diff --git a/plugins/updown.py b/plugins/updown.py index 637755f..3ae7597 100644 --- a/plugins/updown.py +++ b/plugins/updown.py @@ -11,7 +11,7 @@ from tools.helpers import Parameters, delete_this, show_cmd_tip, show_exception @Client.on_message(command("upload")) async def upload(cli: Client, msg: Message): - """上传容器内的文件""" + """上传文件""" cmd, where = Parameters.get(msg) if not where: return await show_cmd_tip(msg, cmd) @@ -37,7 +37,7 @@ async def upload(cli: Client, msg: Message): @Client.on_message(command("download")) async def download(_: Client, msg: Message): - """下载目标消息的文件到挂载目录""" + """下载目标消息的文件""" cmd, where = Parameters.get(msg) replied_msg = msg.reply_to_message if not replied_msg: