1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 19:43:49 +08:00

639 Commits

Author SHA1 Message Date
wdvxdr
4ceacc38d5 onebot: move to pkg/onebot 2023-02-27 15:17:27 +08:00
wdvxdr
cb1604a098 update MiraiGo 2023-02-20 15:08:53 +08:00
wdvxdr
90fa530a02 ci: make revive happy 2023-02-16 23:31:04 +08:00
wdvxdr
c80adf5795 coolq: handle v11/v12 specific message
(1) V11: at V12: mention/mention_all
(2) V11: record V12: voice
2023-02-16 23:28:31 +08:00
wdvxdr
debc1ed1ae coolq: unified string/array message conversion
change to 2 step:
(1): parse to []internal/msg.Element, use msg.ParseObject/msg.ParseString
(2): transform to []IMessageElement, can share functions
2023-02-16 14:51:23 +08:00
wdvxdr
43dd9aa76d rf: move coolq/cqcode to internal/msg 2023-02-15 22:29:42 +08:00
wdvxdr
9c0525b3d4 all: use *onebot.Spec 2023-02-15 21:49:05 +08:00
wdvxdr
cf717ad762 internal/onebot: new package 2023-02-15 14:24:57 +08:00
wdvxdr
6b3aabd9af update MiraiGo 2023-02-14 23:27:15 +08:00
wdvxdr
59ed726c6a Merge branch 'dev' into onebot.v12
# Conflicts:
#	coolq/api.go
#	server/websocket.go
2023-02-14 19:23:39 +08:00
wdvxdr
17420feeac coolq: add sign in api get_stranger_info
Fixes #1853
2023-02-09 22:33:15 +08:00
Pandaft
2483eb09c4
fix: set_group_ban limit error (#1846)
* fix: set_group_ban limit error
2023-02-04 13:07:34 +08:00
ctaoist
d96f840d7f
修复取出消息时LocalImageElement缺失问题 (#1884) 2023-02-03 23:59:05 +08:00
BeautyyuYanli
fc0845b16d
Support API set_group_anonymous (#1875)
* support api set_group_anonymous

* update MiraiGo version

* fix bug due to MiraiGo update
2023-02-01 13:22:56 +08:00
wdvxdr
f3da083be9 coolq/cqcode: add a testcase for quote
May report an empty json message.
2023-01-31 23:10:30 +08:00
wdvxdr
06450c66a2 ci: make golangci-lint happy 2023-01-31 21:20:48 +08:00
wdvxdr
0be18fb221 coolq/cqcode: simplify quote string 2023-01-26 23:58:43 +08:00
wdvxdr
20c62111f5 all: run gofmt -w -r 'interface{} -> any' 2023-01-26 23:03:08 +08:00
wdvxdr
84e061f321 make golangci-lint happy 2023-01-26 22:59:04 +08:00
Mrs4s
7d5f1d6843
fix #1815 2023-01-11 06:08:33 +08:00
Maiko Tan
a5b51051e6
fix: handle decode / encode error 2023-01-06 19:25:54 +08:00
Maiko Tan
311a254b9c
refactor: use in-memory convertion 2023-01-06 14:44:00 +08:00
Maiko Tan
008e139c27
fix: ffmpeg runtime error 2023-01-06 13:06:44 +08:00
Maiko Tan
524debbfda
fix: simplify bool checking 2023-01-06 12:57:19 +08:00
Maiko Tan
2a4ea28f4d
feat: add webp image convert function 2023-01-05 21:58:37 +08:00
xiangxiangxiong9
b05a64fc1b
邀请入群添加邀请人id [invitor_id] 2022-12-20 20:37:08 +08:00
Mrs4s
0e08ceccdd
api: get_version_info remove protocol field & add protocol_name field 2022-12-07 03:27:19 +08:00
源文雨
9253fb7cfd
Merge branch 'dev' into sqlite 2022-12-02 18:00:48 +08:00
Mrs4s
0248c86078
fix #1733 2022-12-01 18:09:18 +08:00
源文雨
92d78839f1 fix: interface convert panic 2022-11-10 17:30:54 +08:00
wdvxdr
f4117bfb70 internal/download: move download logic to this package
also disable http2 when downloading, may fix some issue

For #1563
2022-10-13 21:27:36 +08:00
Akiba
069a764a49
fix: #1608 again 2022-09-16 09:58:17 +08:00
Akiba
bc9c6c49f1
fix: private reply id error, fix #1608 2022-09-09 22:44:43 +08:00
Mrs4s
bae00b557e
feat: send_forward_msg api will be returned forward id 2022-09-08 22:20:43 +08:00
sclock
0377e7f803 合并转发增加log输出 2022-09-08 19:27:13 +08:00
Mrs4s
140192c76a
fix: panic of getting group code error in forward message 2022-09-08 18:43:34 +08:00
wdvxdr
1ff5e4de12 rf: remove Base64DecodeString
Now segmentio/asm resolve issue 50, we don't need this wrapper.
2022-08-31 17:24:22 +08:00
wdvxdr
98712bf9ca move mime to internal package 2022-08-31 16:31:47 +08:00
wdvxdr
656dc6b103 all: fix golangci-lint 2022-08-28 17:33:35 +08:00
Mrs4s
933bdee18e
optimize the return value of group-message sending error 2022-08-14 01:40:14 +08:00
yuanyan3060
7a979c862f fix a bug 使用mongodb时 image的 subtype会被存储为NumberLong类型 2022-07-13 02:16:25 +08:00
秋葉杏
36bf579e0f
feat: del group notice (#1567)
* update dep

* feat: _del_group_notice

* doc: get_group_notice && del_group_notice
2022-07-09 12:57:53 +08:00
Akiba
a0fba6ad54
fix: #1557 2022-06-25 21:36:30 +08:00
Akiba
7e750352c4
fix: #1558 2022-06-25 21:06:37 +08:00
Mrs4s
f772996418
fix #1556 2022-06-25 17:40:15 +08:00
wdvxdr
7707e7854c
feat: add vip_level in get_stranger_info
AntiVIP10Bot is ready. 😇
2022-06-22 10:02:54 +08:00
wdvxdr
86f5b7f5f5
coolq: support upload_private_file
pc client can't receive file sent by this api.
2022-06-20 19:49:12 +08:00
wdvxdr
23d594be29
coolq: support upload_private_file
pc client can't receive file sent by this api.
2022-06-20 16:12:22 +08:00
Mrs4s
672dafdb9d
feat: cross version ID converter & audio/mention segment support 2022-06-17 15:39:35 +08:00
github-actions[bot]
847ef6d415 ci(chore): Fix stylings 2022-06-15 08:04:25 +00:00