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

271 Commits

Author SHA1 Message Date
xiangxiangxiong9
07214e396e
尝试实现 #2421 (#2422) 2023-10-01 13:27:06 +09: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
xiangxiangxiong9
2b1d9c21cb
Fix #2226 - 修改 coolq/cqcode.go#L54 安卓端私聊回复时r.GroupID似乎为0 (#2230) 2023-08-01 11:20:02 +08:00
Azusa
bad3c86912
修改网易云音乐url格式 (#2146)
* 修改网易云音乐url格式
2023-05-30 17:26:22 +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
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
59ed726c6a Merge branch 'dev' into onebot.v12
# Conflicts:
#	coolq/api.go
#	server/websocket.go
2023-02-14 19:23:39 +08:00
ctaoist
d96f840d7f
修复取出消息时LocalImageElement缺失问题 (#1884) 2023-02-03 23:59:05 +08:00
wdvxdr
20c62111f5 all: run gofmt -w -r 'interface{} -> any' 2023-01-26 23:03:08 +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
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
yuanyan3060
7a979c862f fix a bug 使用mongodb时 image的 subtype会被存储为NumberLong类型 2022-07-13 02:16:25 +08:00
Mrs4s
672dafdb9d
feat: cross version ID converter & audio/mention segment support 2022-06-17 15:39:35 +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
源文雨
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
wdvxdr
7dbda5cec7
coolq: make linter happy 2022-05-25 15:31:26 +08:00
wdvxdr
296668441f
coolq: unify converting IMessage to string&array message 2022-05-25 15:24:48 +08:00
源文雨
859f40db83 feat: support binary encoding method base16384 2022-05-10 16:50:38 +08:00
wdvxdr
b22ff34cb7
coolq: fix static check 2022-04-04 22:02:10 +08:00
wdvxdr
4a27a60456
coolq: fix static check 2022-04-04 21:56:18 +08:00
wdvxdr
b4c3f2340e
dep: update MiraiGo 2022-03-28 13:43:39 +08:00
wdvxdr
d522378315
all: optimize
detected by go-perfguard
2022-03-27 23:01:47 +08:00
wdvxdr
d34531790c
coolq: handle extract cover error
For #1426
2022-03-18 23:50:21 +08:00
wdvxdr
937538a7cb
coolq: remove support for old cache path 2022-03-18 19:49:32 +08:00
wdvxdr
d7fe481a8b
db,server: release config after init 2022-03-13 15:23:14 +08:00
wdvxdr
c7f0aed1b7
coolq: adapt new MiraiGo upload api 2022-02-21 23:44:49 +08:00
wdvxdr
19230b1511
coolq: move MessageSource to MiraiGo/message 2022-02-21 17:49:02 +08:00
wdvxdr
75bed6aabc
coolq: clean readImageCache 2022-02-18 19:11:43 +08:00
源文雨
a85f846a5f
fix: get_msg returns nil on local image element (#1342)
* fix: get_msg returns nil on local image element

* fix: make lint happy
2022-02-18 18:38:58 +08:00
wdvxdr
8326685088
coolq: only truncate replySeq to uint16 on private message 2022-02-18 15:09:57 +08:00
wdvxdr
2a66896d43
coolq: new package cqcode
move cqcode escape&unescape to new package
2022-02-16 01:14:35 +08:00
wdvxdr
c609fd72f5
dep: update deps & drop github.com/klauspost/compress 2022-02-13 17:28:08 +08:00
wdvxdr
cf9fa71646
coolq: fix private reply id
Fixes #1368
2022-02-11 14:18:44 +08:00
千橘 雫霞
115a5f1da7
fix: examine errors that have been ignored in the 'CQ:at' parser (#1363)
#1332
2022-02-09 23:55:39 +08:00
wdvxdr
b70db344a6
.github: update golint.yml 2022-02-08 21:53:43 +08:00
wdvxdr
59bc7b4bae
internal/cache: always use CacheDB
Updates #1075
2021-12-28 17:33:14 +08:00
wdvxdr
c775d91e1c
fix: private reply message serialize 2021-12-19 22:48:09 +08:00
Mrs4s
8da29c292e
feat: get_guild_msg api no_cache 2021-12-14 17:50:36 +08:00