summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2023-03-07 19:14:27 +0800
committerKyomotoi <[email protected]>2023-03-07 19:14:27 +0800
commit33178079549121d60a9703ad6bf584aa71f5481b (patch)
treef4e22b49a9a796d6ce2b3c107074317dc9226b85
parent9d772b18d4a9d3ea0a197b23fd0f924b3ad181d9 (diff)
downloadATRI-33178079549121d60a9703ad6bf584aa71f5481b.tar.gz
ATRI-33178079549121d60a9703ad6bf584aa71f5481b.tar.bz2
ATRI-33178079549121d60a9703ad6bf584aa71f5481b.zip
🐛 防止 parse 骂人
-rw-r--r--ATRI/configs/create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ATRI/configs/create.py b/ATRI/configs/create.py
index fac75de..f1be942 100644
--- a/ATRI/configs/create.py
+++ b/ATRI/configs/create.py
@@ -53,7 +53,7 @@ def init_config(conf_path: Path, default_conf_path: Path):
"是否启用内置的 gocqhttp? (y/n) (默认: y)", "y", str, "输入不正确 示例: y"
)
if is_use_with_gocq in ["y", "Y", "true", "True", "是"]:
- uin = console.input("Bot 账号", str(), int, "输入不正确 示例: 1145141919")
+ uin = console.input("Bot 账号", "1145141919", int, "输入不正确 示例: 1145141919")
password = console.input(
"Bot 账号密码 (已做隐藏处理, 如不确定是否填写正确, 请查阅填写完毕后所生成的文件: config.yml)",
str(),