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

657 Commits

Author SHA1 Message Date
源文雨
99cdf9247a
make lint happy 2023-08-01 12:32:29 +08:00
PSoul
fe92bb54df
api: rename kick message type (#1775)
踢人时进行判断,当该人不在群内时返回人员不存在的错误

Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
2023-08-01 11:47:11 +08:00
脆饼干
7cae9829a8
api: _send_group_notice return noticeId (#1834)
Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
2023-08-01 11:45:05 +08:00
源文雨
b8527721c2 make lint happy 2023-08-01 11:34:34 +08:00
Lu7fer
14539adcb8
fix: #2112 add CQ code reply to db and solve recursive reply resolve (#2115)
Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
2023-08-01 11:32:32 +08:00
虞灪
75ad7aa45c
fix: 修复和文档不一致的数据 (#2189)
* fix: 修复获取群荣誉列表群聊之火键名错误问题

* fix: 修复获取版本信息,错误的go-cqhttp字段
2023-08-01 11:25:44 +08:00
xiangxiangxiong9
cffdfd8181
尝试使 get_msg 获取消息中的回复信息 (#2207) 2023-08-01 11:24:59 +08:00
xiangxiangxiong9
2b1d9c21cb
Fix #2226 - 修改 coolq/cqcode.go#L54 安卓端私聊回复时r.GroupID似乎为0 (#2230) 2023-08-01 11:20:02 +08:00
源文雨
dae03784cc make lint happy 2023-08-01 10:38:53 +08:00
源文雨
19dd37a938
fix(lint): if-block 2023-08-01 09:36:21 +08:00
源文雨
a3ad233cd9
fix: group not found report (#2312) (#2337)
解决以下问题:
当群组踢人时,该人不在群内,返回“群聊不存在”的BUG

https://github.com/Mrs4s/go-cqhttp/issues/1774#issue-1459854639

Co-authored-by: PSoul <psoul1@163.com>
2023-08-01 08:55:59 +08:00
xiangxiangxiong9
19906eba36
修复群匿名消息事件中的重复的sub_type #2216 (#2219) 2023-06-20 21:54:07 +08:00
Janet-Baker
5bf64ee743
Fix #2119 (#2186)
* fix: 尝试修复 #2070 (#2071)

* Close file after uploading it to private chat

fix #2119
上传文件到私聊后,释放文件。
2023-06-04 09:56:40 +08:00
Azusa
bad3c86912
修改网易云音乐url格式 (#2146)
* 修改网易云音乐url格式
2023-05-30 17:26:22 +08:00
wdvxdr
13325634c0 make lint happy 2023-04-08 11:34:19 +08:00
Mrs4s
749cde2a6d
fix #1782 2023-04-02 18:32:49 +08:00
EnderFx
008d546f1a
Update cqcode.go (#2001)
fix #1998
2023-03-20 10:34:05 +08:00
Mrs4s
82ecf19480
fix #1989 2023-03-18 14:04:13 +08:00
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