Commit 24e5d55d authored by nanahira's avatar nanahira

readme

parent ae784fda
Pipeline #6854 passed with stages
in 1 minute and 5 seconds
...@@ -3,7 +3,7 @@ adapter: ...@@ -3,7 +3,7 @@ adapter:
- protocol: 'ws' - protocol: 'ws'
endpoint: 'ws://127.0.0.1:6700' endpoint: 'ws://127.0.0.1:6700'
selfId: '2222222222' selfId: '2222222222'
token: 'token' token: 'JdkTapiX8sjKmeYeIT4qt0DIhtCa0fdxa'
koishiOptions: koishiOptions:
commandPrefix: '.' commandPrefix: '.'
adminIds: adminIds:
......
配置步骤: 配置步骤:
1. 在 config.yml 文件中,找到 uin 配置项填入机器人 QQ 号。 1. 在 config.yml 文件中,找到 uin 配置项填入机器人 QQ 号。
2. 在 launch.bat 文件中,找到 2222222222 改成机器人 QQ 号。 2. 在 app-config.yaml 文件中,找到 2222222222 改成机器人 QQ 号。
3. 找到 ADMIN_ID,把 1111111111 改成管理员 QQ 号。只有管理员可以拉 QQ 机器人入群,和其他操作。 3. 找到 adminIds,把 1111111111 改成管理员 QQ 号。只有管理员可以拉 QQ 机器人入群,和其他操作。
启动步骤: 启动步骤:
1. 双击 go-cqhttp.exe 启动机器人内核,使用机器人帐号的手机 QQ 扫码登录。 1. 双击 go-cqhttp.exe 启动机器人内核,使用机器人帐号的手机 QQ 扫码登录。
2. 双击 launch.bat 启动机器人程序。 2. 双击 koishi.exe 启动机器人程序。
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment