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

157 Commits

Author SHA1 Message Date
wdvxdr
8db68f9427
fix: cqcode fix url
之前写的时候憨批了
2021-03-28 00:11:13 +08:00
wdvxdr
3301077c46
websocket read with buffer pool 2021-03-18 22:32:54 +08:00
Github Actions
ec965a9eb7 ci(chore): Fix stylings 2021-03-17 14:44:57 +00:00
wdvxdr
c43cb5d0f5
ci: auto fix 2021-03-17 22:39:18 +08:00
wdvxdr
ee73fca2ce
ci: update golangci-lint
fix golint
update golangci-lint
2021-03-16 13:33:55 +08:00
wdvxdr
8185c4cdf1
fix typo 2021-03-08 22:32:15 +08:00
Sam
45102614b8 多项改动
修复:
- SendGroupForwardMessage 添加发送失败Handler
- 禁言逻辑修复, 可以进行30(整)天的禁言
- 添加无法撤回临时信息Handling
- 临时会话发送与接收信息入库 (暂时不能撤回信息, Fixes #495)
更改:
- 临时会话中的变量改名 (code -> groupId)
- 警告信息添加空格 (见cqcode.go)
- 更新文档: 添加seq说明, 缩短某个网址, 添加某个CQcode定义的导向
添加:
- 为自定义reply添加seq选项让信息更具真实性
- 添加删除好友处理 (https://github.com/Mrs4s/MiraiGo/pull/129, Fixes #374)
2021-03-02 04:55:37 +08:00
Mrs4s
550e8d3531
Merge pull request #660 from wdvxdr1123/patch/cqcode_fast
Accelerate cqcode again!
2021-02-22 17:43:10 +08:00
wdvxdr
42e5b0564c
fast!!!
goos: windows
goarch: amd64
pkg: github.com/Mrs4s/go-cqhttp/coolq
cpu: Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
BenchmarkCQBot_ConvertStringMessage-8             963939              1205 ns/op             368 B/op         11 allocs/op
PASS
ok      github.com/Mrs4s/go-cqhttp/coolq        1.764s
2021-02-22 16:36:24 +08:00
Mrs4s
65112f8752
Merge pull request #659 from wdvxdr1123/patch/cqcode_fast
 Speed up cqcode parsing
2021-02-21 23:42:21 +08:00
wdvxdr
36c0aaae6b
fix golint 2021-02-21 22:48:57 +08:00
wdvxdr
976f2233b4
Speed up cqcode parsing
BenchmarkCQBot_ConvertStringMessage-8             232700              4743 ns/op            2672 B/op         65 allocs/op
BenchmarkCQBot_ConvertStringMessage2-8            752025              1643 ns/op            1376 B/op         17 allocs/op
2021-02-21 22:43:12 +08:00
Akiba
3cc0453958 add cardimage brief support #478 2021-02-20 20:45:45 +08:00
Mrs4s
2d90a16fbf
Merge pull request #637 from nnnewb/pr/at-sender
feat: 实现快速操作中 at_sender 功能
2021-02-17 17:09:16 +08:00
wdvxdr
1ff9de190d
fix cqcode 2021-02-17 16:04:28 +08:00
nnnewb
ce30d63907 fix: fix line ending 2021-02-13 18:50:50 +08:00
nnnewb
fba4819adc fix: 修复 at_sender 默认行为符合 onebot 2021-02-13 18:05:28 +08:00
nnnewb
31cfb9283e feat: 实现 at_sender 功能 2021-02-13 17:29:29 +08:00
Ink-33
7b71cd9219
Shorten url
update comment
2021-02-05 02:22:44 +08:00
Ink-33
d291aa02fe
Merge remote-tracking branch 'upstream/dev' into dev
Update upstream
2021-02-05 00:54:51 +08:00
wdvxdr
817bb0e493
simplify music share
support Kugou,Kuwo custom
2021-01-25 15:06:30 +08:00
Ink-33
6f5e582213
fix golint 2021-01-25 01:04:39 +08:00
Mrs4s
9a81b02791
Merge pull request #576 from sam01101/master
添加非破坏性(Unbreakable)功能
2021-01-19 01:54:47 +08:00
sam01101
eb618393e5
update string message 2021-01-18 23:22:46 +08:00
sam01101
bdc2b03690 Added unbreakable feature
- Reply message customizable
- Forward message able to customize time

Signed-off-by: Sam <lau.sam745033858@gmail.com>
2021-01-18 23:01:54 +08:00
Ink-33
61f4e7826a
fix golint 2021-01-17 16:39:01 +08:00
Ink-33
1d9f719d13
fix: golangci-lint ineffassign 2021-01-17 02:16:29 +08:00
Ink-33
9f99b1571d
fix: golangci-lint gosimple 2021-01-17 01:47:45 +08:00
wdvxdr
de4de5052d fix #557 & remove some goto 2021-01-13 11:43:39 +08:00
Mrs4s
ef713bc59c
fix show pic error. 2021-01-13 02:58:54 +08:00
Mrs4s
eaec0e545f fix thumb. 2021-01-11 00:50:50 +08:00
Mrs4s
36532a8782 fix message. 2021-01-11 00:33:41 +08:00
wdvxdr
249e528457 support video cache file 2021-01-09 14:26:21 +08:00
wdvxdr
1eeae13b4a fix file close 2021-01-09 12:23:24 +08:00
Mrs4s
fe83ce716e update MiraiGo & fix user-agent & fix file lock. 2021-01-09 04:25:18 +08:00
wdvxdr
a4c3ef8923 fix private video 2021-01-08 22:34:57 +08:00
wdvxdr
2e2002668b fix video 2021-01-08 22:14:23 +08:00
wdvxdr
b717e23626 feat CQ:video 2021-01-08 15:40:32 +08:00
wdvxdr
f501b31152 encode mp4 2021-01-08 14:12:25 +08:00
Mrs4s
2bbf969cfa feature download_file. 2021-01-06 21:27:07 +08:00
Mrs4s
773952d6d6 update MiraiGo. 2021-01-05 00:53:24 +08:00
Mrs4s
6769421b7a
Merge pull request #534 from wdvxdr1123/patch-1
fix none msg
2021-01-04 01:05:23 +08:00
Mrs4s
d20ff4eeb2 feature multi-threading download & fix invalid file. 2021-01-04 01:04:11 +08:00
wdvxdr
9c81b81820 fix none msg 2021-01-03 11:08:11 +08:00
Mrs4s
808c275f3d update MiraiGo. 2021-01-03 00:37:19 +08:00
wdvxdr
5a8d918d9d feat send CQ:forward 2020-12-31 16:41:03 +08:00
Mrs4s
9dc519ff77 feature fix url & update doc. 2020-12-19 02:09:36 +08:00
Mrs4s
6ea4bd829e fix issue of get_msg image url empty. #503 2020-12-18 23:47:49 +08:00
Mrs4s
aa77810491 support old coolq data path. #499 2020-12-17 08:12:57 +08:00
Mrs4s
93d0d87fbb optimization cqcode converter. 2020-12-03 15:02:36 +08:00