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

272 Commits

Author SHA1 Message Date
wdvxdr
0138a6c467
feat(global): lazy compile split url regex pattern 2021-04-27 20:39:47 +08:00
wdvxdr
1ecb1f62dc
fix(codec): silk sdk conditional compile 2021-04-22 21:30:51 +08:00
wdvxdr
0487f849bc
fix(coolq): tts on ios
fixes #849
2021-04-22 21:22:30 +08:00
wdvxdr
a5314f0b6d
add array benchmark 2021-04-20 13:15:33 +08:00
wdvxdr
223a888a34
reduce base64 alloc 2021-04-15 11:45:15 +08:00
wdvxdr
773d2b77e6
fix(cqcode): text message
漏改了
2021-04-14 22:43:50 +08:00
wdvxdr
f6073f5a61
feat(cqcode): format string message with buffer pool 2021-04-13 21:42:32 +08:00
wdvxdr
a27848979d
remove global/config.go 2021-04-13 21:15:44 +08:00
wdvxdr
6dfa5e5959
fix(config): only read config once 2021-04-08 22:30:17 +08:00
wdvxdr
a0cb34dc7a
fix(coolq): null message 2021-04-08 17:34:07 +08:00
Sam
c06aee39d9
Fix forward msg empty panic 2021-04-07 18:56:05 +08:00
sam01101
e8d2d345e9
at, reply 添加更多细节 (#799)
更改:
- 发送: 自定义reply可以用id了
- 发送: CQ:at 中的QQ如果不存在会使用name的field作为补偿
添加可选选项:
- 接收: 添加延申reply信息
- 删除回复消息中重复的艾特 (Closes #764)
2021-04-06 21:22:51 +08:00
Github Actions
15a59d4252 ci(chore): Fix stylings 2021-04-04 14:16:49 +00:00
wdvxdr
ecf695a68d
fix typo 2021-04-04 15:32:52 +08:00
wdvxdr
337e53ebc6
fix escape 2021-04-04 15:28:47 +08:00
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