From 7cae371b51a14c626ce184987eea2392e15430b9 Mon Sep 17 00:00:00 2001 From: Kyomotoi <1172294279@qq.com> Date: Sat, 7 Nov 2020 13:54:57 +0800 Subject: [Update] --- config.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 config.yml (limited to 'config.yml') diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..9aa1c31 --- /dev/null +++ b/config.yml @@ -0,0 +1,33 @@ +# ATRI 基本配置 +bot: + # 反向ws地址,建议127.0.0.1 + host: 127.0.0.1 + # 反向ws端口 + port: 8080 + # 非开发者无需理会 + debug: false + # 超级用户,填自己的QQ号,用“,”隔开 + superusers: [""] + # 机器人昵称,建议不动 + nickname: ["ATRI", "Atri", "atri", "亚托莉", "アトリ"] + # 命令触发头,建议不动,除非你知道你在做什么 + command_start: [""] + # 命令分离,建议不动,除非你知道你在做什么 + command_sep: ["."] + +# 接口相关配置 +api: + # 涩图接口,URL:https://api.lolicon.app/#/setu + LoliconAPI: + # 换脸接口,URL:https://www.faceplusplus.com.cn/ + FaceplusAPI: + FaceplusSECRET: + # 搜图接口,URL:https://saucenao.com/ + SauceNaoKEY: + +# 内置网页端 +html: + # 对外地址,建议0.0.0.0 + host: 0.0.0.0 + # 对外端口,请检查防火墙是否开启 + port: 80 -- cgit v1.2.3