From 35b63f56fa38178c20ebe7b33b692856b387cd54 Mon Sep 17 00:00:00 2001 From: Eritque arcus <1930893235@qq.com> Date: Mon, 6 Dec 2021 16:47:41 +0800 Subject: [PATCH] Update README.md --- README.md | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2f619d0..968a87c 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,12 @@ Mirai接入图灵机器人 1. 下载release中的插件文件 2. 去[图灵个人中心](www.tuling123.com)取到api令牌 ![image](https://user-images.githubusercontent.com/35139537/110485654-d78cc780-8126-11eb-890a-aa68f9a5f0d3.png) -3. 把插件放到mcl里运行一次,插件会把配置文件目录通过日志发送出来(即在`data/TuLingBot/config.json`),打开编辑这个文件 +3. 把插件放到mcl里运行一次,插件会把配置文件目录通过日志发送出来(即在`data/TuLingBot/config.json`或`data/tech.eritquearcus.tuling/config.json`),打开编辑这个文件 4. 按照以下格式输入 ```json { "apikey":"api令牌", -"gkeyword":["群聊触发开始字符1", "字符2", "@bot"], +"gkeyword":["群聊触发开始字符串1", "字符串2", "@bot"], "fkeyword": [] } ``` @@ -23,3 +23,22 @@ Mirai接入图灵机器人 - `fkeyword` 代表在私聊中的触发字符, 为空代表任意消息都会触发 - [可选] `debug` 代表要不要接收内部日志, 如果为true代表会打印, false或不填代表不会 5. 运行mcl + +# 许可 +``` +Copyright (C) 2021-2021 Eritque arcus and contributors. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as +published by the Free Software Foundation, either version 3 of the +License, or any later version(in your opinion). + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . + +```