1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-08-08 02:51:50 +00:00
Commit Graph

467 Commits

Author SHA1 Message Date
ee73fca2ce ci: update golangci-lint
fix golint
update golangci-lint
2021-03-16 13:33:55 +08:00
Sam
2febee01d9 Fixes #717 2021-03-13 13:24:21 +08:00
5049a8f697 Merge pull request #697 from povsister/ldflags-typo
Fix a comment typo
2021-03-09 16:11:39 +08:00
8185c4cdf1 fix typo 2021-03-08 22:32:15 +08:00
Sam
b2738d909b 限制 handle_quick_op... 的 at_sender 使用场景, Closes #701 2021-03-06 20:31:58 +08:00
95f2227898 Merge pull request #698 from sam01101/dev
Fix bug
2021-03-05 19:59:59 +08:00
Sam
626de1cb17 Closes #556 2021-03-05 17:34:21 +08:00
bfc3958f34 Fix a comment typo 2021-03-05 12:57:07 +08:00
cf5d3cef95 Merge pull request #696 from sam01101/dev
临时会话添加Group字段, Fixes #695
2021-03-04 16:36:24 +08:00
b781c3b43b [temp_msg] Changed gorup_id to sender list 2021-03-04 16:11:41 +08:00
Sam
a639b60155 临时会话添加Group字段, Fixes #695 2021-03-04 15:13:22 +08:00
a90af94eda feat enable_self_message config. 2021-03-03 19:14:24 +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
b385ed20b5 fix group message event panic. 2021-03-01 20:11:05 +08:00
ca826f67b3 fix event error. 2021-03-01 20:05:10 +08:00
550e8d3531 Merge pull request #660 from wdvxdr1123/patch/cqcode_fast
Accelerate cqcode again!
2021-02-22 17:43:10 +08:00
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
65112f8752 Merge pull request #659 from wdvxdr1123/patch/cqcode_fast
 Speed up cqcode parsing
2021-02-21 23:42:21 +08:00
36c0aaae6b fix golint 2021-02-21 22:48:57 +08:00
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
3cc0453958 add cardimage brief support #478 2021-02-20 20:45:45 +08:00
fff33e304c fix atall permission error. 2021-02-20 18:50:34 +08:00
977ee0c859 update MiraiGo. fix #649 2021-02-20 18:44:14 +08:00
4021f95c24 change self message event type. 2021-02-20 14:23:45 +08:00
b1ca827187 feat self group message event. 2021-02-19 21:04:34 +08:00
0afbe3d64a Merge branch 'dev' of https://github.com/Mrs4s/go-cqhttp into pr/get-version-info 2021-02-18 21:13:13 +08:00
8602490711 Merge pull request #645 from Akegarasu/master
fix #638
2021-02-17 17:44:55 +08:00
a1fb629798 refresh group mem 2021-02-17 17:34:57 +08:00
2d90a16fbf Merge pull request #637 from nnnewb/pr/at-sender
feat: 实现快速操作中 at_sender 功能
2021-02-17 17:09:16 +08:00
1ff9de190d fix cqcode 2021-02-17 16:04:28 +08:00
569a718dc6 fix #638 2021-02-16 18:20:18 +08:00
ce30d63907 fix: fix line ending 2021-02-13 18:50:50 +08:00
19556cbab3 refactor: 略微优化下实现 2021-02-13 18:37:22 +08:00
3bfdc4d8a2 fix: 解决原本的 isAnonymous 判断错误 2021-02-13 18:24:20 +08:00
fba4819adc fix: 修复 at_sender 默认行为符合 onebot 2021-02-13 18:05:28 +08:00
e30e21e296 fix: import fmt 2021-02-13 17:34:53 +08:00
6e8ef3ef0f fix: 兼容 onebot v11 规定的 GetVersionInfo 字段 2021-02-13 17:34:45 +08:00
31cfb9283e feat: 实现 at_sender 功能 2021-02-13 17:29:29 +08:00
eaf7067196 fix errcheck 2021-02-09 01:47:48 +08:00
82bca7183d fix golint 2021-02-09 01:33:27 +08:00
13975c02df Merge remote-tracking branch 'upstream/master' into dev 2021-02-09 01:00:26 +08:00
3bbcdc9171 fix null pointer dereference on at. 2021-02-08 22:48:39 +08:00
4c570bdfe6 feature check_url_safely. 2021-02-06 06:40:39 +08:00
307a09dd11 feature upload_group_file. 2021-02-05 22:24:49 +08:00
7b71cd9219 Shorten url
update comment
2021-02-05 02:22:44 +08:00
d291aa02fe Merge remote-tracking branch 'upstream/dev' into dev
Update upstream
2021-02-05 00:54:51 +08:00
0bacbde4d7 Merge branch 'dev' into patch/essence 2021-02-03 01:26:27 +08:00
7da1918c0c update docs 2021-02-02 23:59:00 +08:00
89d466d3e1 feat group essence msg operate 2021-02-02 23:36:05 +08:00
5b57aeb1d1 get group info by search 2021-02-02 22:12:47 +08:00