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

198 Commits

Author SHA1 Message Date
Lumine
bd785d3894
尝试修复首次登录时容易出现 code -10005 和 packet timed out 的问题 (#2463)
* try to fix: code -10005 and packet timed out (first login)
* 此问题猜测可能是成功登录前无法向服务器发送sso packet并获取结果。
  在有callback之前似乎没有出现这个问题,怀疑是这里的问题。
  等待 100s 后(以等待完成过滑块)再提交初始化包以尝试解决
* sign submit 内容改为仅在debug模式下打印

* impl #2455
* 在“群消息发送失败: 账号可能被风控”的时候提供group_id

* optimize: sign callback wait until online
* 等待至 bot 在线再发包,而不是简单地等待 100s
2023-10-09 22:03:26 +09: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
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
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
59ed726c6a Merge branch 'dev' into onebot.v12
# Conflicts:
#	coolq/api.go
#	server/websocket.go
2023-02-14 19:23:39 +08:00
wdvxdr
84e061f321 make golangci-lint happy 2023-01-26 22:59:04 +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
wdvxdr
98712bf9ca move mime to internal package 2022-08-31 16:31:47 +08:00
Mrs4s
933bdee18e
optimize the return value of group-message sending error 2022-08-14 01:40:14 +08: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
9e136b21fa
coolq: refactor event msg 2022-05-26 20:45:05 +08:00
wdvxdr
296668441f
coolq: unify converting IMessage to string&array message 2022-05-25 15:24:48 +08:00
wdvxdr
c141501ae5
all: update MiraiGo and some minor changes 2022-05-23 11:13:44 +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
062eea62ab
coolq: use generic sync.Map 2022-03-20 15:19:47 +08:00
wdvxdr
c00e07dec9
coolq: adapt generic event handle & update MiraiGo 2022-03-01 16:30:23 +08:00
源文雨
6687d22643
fix: uploadLocalImage SIGSEGV (#1392)
* fix: uploadLocalImage SIGSEGV

* fix: removeLocalElement nil ptr
2022-02-24 21:58:48 +08:00
wdvxdr
987daad785
coolq: allow upload media concurrently for normal message 2022-02-22 14:46:26 +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
2709c5d448
dep: update MiraiGo & revert disabling multi-thread upload 2022-02-20 23:36:29 +08:00
Mrs4s
a5dd0bfa1f
feat: disable temp session by default 2022-01-24 19:52:13 +08:00
源文雨
9152185ebc
fix: PutBuffer panic on nil event buffer (#1299) 2021-12-31 11:19:58 +08:00
wdvxdr
b98f75ccab
style: run gofumpt 2021-12-29 14:04:51 +08:00
Mrs4s
8da29c292e
feat: get_guild_msg api no_cache 2021-12-14 17:50:36 +08:00
Mrs4s
32aa82f914
feat: get_guild_msg api 2021-12-13 02:34:05 +08:00
Mrs4s
f5ef0c188b
feat: guild_channel_recall event 2021-12-13 02:21:20 +08:00
wdvxdr
1bc3818510
feat: basic guild music share support 2021-12-12 17:15:42 +08:00
Mrs4s
bc2901f4bd
Merge branch 'dev' of github.com:/Mrs4s/go-cqhttp into dev 2021-12-12 00:24:38 +08:00
Mrs4s
120b925fd6
update: remove internal id from guild message id 2021-12-12 00:24:24 +08:00
github-actions[bot]
abf42ce6b1 ci(chore): Fix stylings 2021-12-11 15:36:58 +00:00
Mrs4s
57b2ce4c04
feat: database support for guild channel message 2021-12-11 23:16:00 +08:00
Mrs4s
e69051e88b
feat: get_guild_member_list api 2021-12-08 21:52:00 +08:00
wdvxdr
150ce2950a
fix: allow sending guild short video
Fixes #1176
Fixes #1170
2021-11-18 21:31:46 +08:00
Mrs4s
c180246720
Merge pull request #1164 from Sora233/fix/private_reply
fix private reply message
2021-11-16 00:43:48 +08:00
sora233
300a60fe9e fix private reply message 2021-11-15 14:01:55 +08:00
wdvxdr
adec1d1c1b
coolq: drop [CQ:gift] support 2021-11-14 21:40:29 +08:00
Mrs4s
cc8f2b5a7a
feat: channel_created event & channel_destroyed event support 2021-11-14 19:35:46 +08:00
wdvxdr
96e0411c97
fix(all): resolve issues reported by golangci-lint 2021-11-13 15:57:00 +08:00
Mrs4s
52e7ea5bbe
feat: support parse multi-source message & support parse and forward guild image message 2021-11-13 03:08:41 +08:00
Mrs4s
ea036c5d05
feat: send_guild_channel_msg 2021-11-12 03:40:59 +08:00
Mrs4s
9f9db54192
feat: guild channel updated event 2021-11-12 03:04:11 +08:00