Skip to content

Commit fa2b2b5

Browse files
committed
update
1 parent 5d10cd7 commit fa2b2b5

File tree

24 files changed

+12632
-42582
lines changed

24 files changed

+12632
-42582
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v2
1919
with:
20-
go-version: '1.18'
20+
go-version: '1.20'
2121

2222
- name: Run GoReleaser
2323
uses: goreleaser/goreleaser-action@v2

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,18 @@
44

55
用于收发QQ消息,并通过 websocket + protobuf 上报给 server 进行处理。
66

7-
支持的开发语言:[Java/Kotlin](https://github.com/protobufbot/spring-mirai-server) , [JavaScript](https://github.com/ProtobufBot/js-pbbot/blob/master/example/src/index.js) , [Python](https://github.com/PHIKN1GHT/pypbbot/tree/main/pypbbot_examples) , [Golang](https://github.com/ProtobufBot/go-pbbot/blob/master/test/bot_test.go) , [C/C++](https://github.com/ProtobufBot/cpp-pbbot/blob/main/src/event_handler/event_handler.cpp) , [易语言](https://github.com/protobufbot/pbbot_e_sdk) 。详情查看 [Protobufbot](https://github.com/ProtobufBot/ProtobufBot)
7+
支持的开发语言:[Java/Kotlin](https://github.com/protobufbot/spring-mirai-server) , [JavaScript](https://github.com/2mf8/TSPbBot) , [TypeScript](https://github.com/2mf8/TSPbBot/blob/master/src/demo/index.ts) , [Python](https://github.com/PHIKN1GHT/pypbbot/tree/main/pypbbot_examples) , [Golang](https://github.com/2mf8/GoPbBot/blob/master/test/bot_test.go) , [C/C++](https://github.com/ProtobufBot/cpp-pbbot/blob/main/src/event_handler/event_handler.cpp) , [易语言](https://github.com/protobufbot/pbbot_e_sdk) 。详情查看 [Protobufbot](https://github.com/ProtobufBot/ProtobufBot)
88

99
可以使用其他任意语言编写websocket server实现通信,协议:[onebot_idl](https://github.com/lz1998/onebot_idl)
1010

1111
有问题发issue,或者进QQ群335783090
1212

13+
## 频道API使用条件
14+
15+
必须是AndroidPhone协议且子频道通知开启(关闭通知将无法接收消息)【订不订阅无所谓】
16+
17+
已支持频道API的SDK有 [JavaScript](https://github.com/2mf8/TSPbBot) , [TypeScript](https://github.com/2mf8/TSPbBot/blob/master/src/demo/index.ts) , [Golang](https://github.com/2mf8/GoPbBot/blob/master/test/bot_test.go)
18+
1319
## 使用说明
1420

1521
1. 启动程序
@@ -121,5 +127,7 @@ lz1998/gmc:0.1.19
121127
- AndroidWatch: 2
122128
- MacOS: 3
123129
- 企点: 4
130+
- IPad: 5
131+
- AndroidPad: 6
124132

125133
输入其他数字默认表示IPad

go.mod

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,60 @@
11
module github.com/ProtobufBot/Go-Mirai-Client
22

3-
go 1.19
3+
go 1.20
44

55
require (
6-
github.com/Mrs4s/MiraiGo v0.0.0-20221206193101-cf66e2864798
6+
github.com/Mrs4s/MiraiGo v0.0.0-20230319092203-62d60f132203
77
github.com/fanliao/go-promise v0.0.0-20141029170127-1890db352a72
8-
github.com/gin-gonic/gin v1.8.1
8+
github.com/gin-gonic/gin v1.9.0
99
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
10-
github.com/golang/protobuf v1.5.2
10+
github.com/golang/protobuf v1.5.3
1111
github.com/gorilla/websocket v1.5.0
1212
github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible
1313
github.com/pkg/errors v0.9.1
1414
github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5
1515
github.com/sirupsen/logrus v1.9.0
1616
github.com/t-tomalak/logrus-easy-formatter v0.0.0-20190827215021-c074f06c5816
17-
github.com/tidwall/gjson v1.14.3
17+
github.com/tidwall/gjson v1.14.4
1818
github.com/zserge/lorca v0.1.10
19-
golang.org/x/mobile v0.0.0-20220722155234-aaac322e2105
19+
golang.org/x/mobile v0.0.0-20230301163155-e0f57694e12c
20+
google.golang.org/grpc v1.53.0
21+
google.golang.org/protobuf v1.30.0
2022
)
2123

2224
require (
23-
github.com/RomiChan/protobuf v0.1.1-0.20220624030127-3310cba9dbc0 // indirect
25+
github.com/RomiChan/protobuf v0.1.1-0.20230204044148-2ed269a2e54d // indirect
2426
github.com/RomiChan/syncx v0.0.0-20220404072119-d7ea0ae15a4c // indirect
27+
github.com/bytedance/sonic v1.8.0 // indirect
28+
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
2529
github.com/fumiama/imgsz v0.0.2 // indirect
2630
github.com/gin-contrib/sse v0.1.0 // indirect
27-
github.com/go-playground/locales v0.14.0 // indirect
28-
github.com/go-playground/universal-translator v0.18.0 // indirect
29-
github.com/go-playground/validator/v10 v10.10.0 // indirect
30-
github.com/goccy/go-json v0.9.7 // indirect
31+
github.com/go-playground/locales v0.14.1 // indirect
32+
github.com/go-playground/universal-translator v0.18.1 // indirect
33+
github.com/go-playground/validator/v10 v10.11.2 // indirect
34+
github.com/goccy/go-json v0.10.0 // indirect
3135
github.com/jonboulle/clockwork v0.3.0 // indirect
3236
github.com/json-iterator/go v1.1.12 // indirect
37+
github.com/klauspost/cpuid/v2 v2.0.9 // indirect
3338
github.com/leodido/go-urn v1.2.1 // indirect
3439
github.com/lestrrat-go/strftime v1.0.6 // indirect
35-
github.com/mattn/go-isatty v0.0.14 // indirect
40+
github.com/mattn/go-isatty v0.0.17 // indirect
3641
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
3742
github.com/modern-go/reflect2 v1.0.2 // indirect
38-
github.com/pelletier/go-toml/v2 v2.0.1 // indirect
43+
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
3944
github.com/pierrec/lz4/v4 v4.1.15 // indirect
4045
github.com/smartystreets/goconvey v1.7.2 // indirect
4146
github.com/tidwall/match v1.1.1 // indirect
4247
github.com/tidwall/pretty v1.2.0 // indirect
43-
github.com/ugorji/go/codec v1.2.7 // indirect
44-
golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 // indirect
45-
golang.org/x/mod v0.4.2 // indirect
46-
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d // indirect
48+
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
49+
github.com/ugorji/go/codec v1.2.9 // indirect
50+
golang.org/x/arch v0.0.0-20210923205945-b76863e36670 // indirect
51+
golang.org/x/crypto v0.5.0 // indirect
52+
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
53+
golang.org/x/net v0.7.0 // indirect
4754
golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde // indirect
48-
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
49-
golang.org/x/text v0.3.6 // indirect
50-
golang.org/x/tools v0.1.8-0.20211022200916-316ba0b74098 // indirect
51-
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
52-
google.golang.org/protobuf v1.28.0 // indirect
53-
gopkg.in/yaml.v2 v2.4.0 // indirect
55+
golang.org/x/sys v0.5.0 // indirect
56+
golang.org/x/text v0.7.0 // indirect
57+
golang.org/x/tools v0.1.12 // indirect
58+
google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect
59+
gopkg.in/yaml.v3 v3.0.1 // indirect
5460
)

0 commit comments

Comments
 (0)