1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-06 03:53:50 +08:00

630 Commits

Author SHA1 Message Date
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
Mrs4s
f900fd62fb
feat: routing api by version & inject version field 2022-06-15 16:02:52 +08:00
Mrs4s
7e24f8b6e6
fix buffer race 2022-06-14 17:31:09 +08:00
wdvxdr
babf35e495
coolq: remove redundant message type
Fixes #1534
2022-06-13 22:32:45 +08:00
Mrs4s
13abf92b76
Merge pull request #1492 from fumiama/base16384
feat: support binary encoding method base16384
2022-06-06 20:26:28 +08:00
Mrs4s
d25209c366
fix #1520 2022-06-05 17:35:37 +08:00
源文雨
15602e1daa
revert: re-include url in message (#1521)
* revert: re-include url in message

* fix: wrong writer usage

* fix: composite literal uses unkeyed fields

* 优化buffer

* fix: illegal use of non-zero Builder

* fix: illegal use of non-zero Builder

* fix: make lint happy

* fix: replace io.Writer to *strings.Builder

* fix: replace io.Writer to *strings.Builder
2022-05-30 14:17:34 +08:00
MingxuanGame
43ea459365
feat: supported finger-guessing message (#1519) 2022-05-28 21:54:10 +08:00
synodriver
c275806c62
add group_id for get_forward_msg (#1510) 2022-05-27 17:10:23 +08:00
秋葉杏
d313effb79
feat: send forward msg to private (#1513)
* feature(forward_msg): support send forward msg to private

Added two apis: send_forward_msg & send_private_forward_msg

* typo: messages

* fix: message source target id
2022-05-27 14:24:48 +08:00