优化设置显示 (#99)

* Update keyword.py

* Update list.json
This commit is contained in:
c3b2a 2021-01-20 20:29:07 +08:00 committed by GitHub
parent 657c5e0f37
commit 4fd0ebef0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -245,7 +245,7 @@ async def reply_set(context):
await del_msg(context, 15) await del_msg(context, 15)
return return
elif params[0] == "show": elif params[0] == "show":
defaults = {"mode": "0", "list": ""} defaults = {"mode": "未设置", "list": "未设置"}
msg = "Settings: \n" msg = "Settings: \n"
for k, v in defaults.items(): for k, v in defaults.items():
msg += f"`{k}` -> `{settings_dict[k] if k in settings_dict else v}`\n" msg += f"`{k}` -> `{settings_dict[k] if k in settings_dict else v}`\n"

View File

@ -362,7 +362,7 @@
}, },
{ {
"name": "keyword", "name": "keyword",
"version": "1.7", "version": "1.8",
"section": "chat", "section": "chat",
"maintainer": "c3b2a", "maintainer": "c3b2a",
"size": "15.5 kb", "size": "15.5 kb",