Skip to content

Commit 9b8d3d4

Browse files
committed
update readme
1 parent 1c0b1a0 commit 9b8d3d4

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,29 @@ server端可以使用任意语言编写,通信协议:https://github.com/lz19
77
Java/Kotlin用户推荐使用 [spring-boot-starter](https://github.com/protobufbot/pbbot-spring-boot-starter)
88

99
支持发送的消息:文字、表情、图片、atQQ
10+
11+
12+
## 自动登陆脚本
13+
14+
可以编写多个启动脚本自动启动不同的账号,不同账号PORT必须不同(或者写0表示随机)
15+
16+
如果需要登陆验证(图形/短信验证码等),必须使用浏览器访问`127.0.0.1:PORT`,PORT不能乱填
17+
18+
### Windows
19+
20+
```shell
21+
set UIN=机器人QQ号
22+
set PASSWORD=机器人QQ密码
23+
set PORT=9000
24+
Go-Mirai-Client.exe
25+
```
26+
27+
### Linux
28+
```shell
29+
chmod +x ./Go-Mirai-Client
30+
31+
export UIN=机器人QQ号
32+
export PASSWORD=机器人QQ密码
33+
export PORT=9000
34+
./Go-Mirai-Client
35+
```

0 commit comments

Comments
 (0)