lixiangwuxian
|
7b664f436b
|
refactor: 优化 SendMsg 函数中的消息处理逻辑,使用类型断言提升代码灵活性和可读性
|
2025-05-05 03:25:07 +08:00 |
|
lixiangwuxian
|
26b8d2b03a
|
refactor: 优化 SendMsg 函数中的消息处理逻辑,支持不同类型的 ReplyMsg,提升代码灵活性和可读性
|
2025-05-05 02:53:59 +08:00 |
|
lixiangwuxian
|
5f8609bef2
|
refactor: 优化 SendMsg 函数中的消息构建逻辑,使用切片拼接替代字符串格式化,提升性能和可读性
|
2025-05-05 02:52:45 +08:00 |
|
lixiangwuxian
|
77a506917e
|
feat: 在消息处理逻辑中添加合并转发功能,当记录条数超过 5 条时使用合并转发,提升用户体验
|
2025-05-04 23:24:44 +08:00 |
|
lixiangwuxian
|
46a82e1fef
|
refactor: 重构 GetLoginAccountInfo 函数,移除 actionManager 依赖,并更新相关调用;修改 sendAlertMessage 函数为发送合并转发
|
2025-04-12 01:13:22 +08:00 |
|
lixiangwuxian
|
eba07290a9
|
feat: 添加获取登录账户信息的功能,并更新相关数据结构和常量
|
2025-04-10 01:13:28 +08:00 |
|
lixiangwuxian
|
546f1abcd1
|
feat: 在 MsgInHandler 中添加 Panic 恢复日志记录,并在出现 Panic 时发送警告消息
|
2025-04-10 01:05:44 +08:00 |
|
lixiangwuxian
|
0a7d2d63aa
|
fix: 移除 actionManager 中 SendForward 函数和 help 函数中的日志记录
|
2025-04-10 00:53:08 +08:00 |
|
lixiangwuxian
|
7d3da26eb2
|
feat: 在 SendForward 函数中添加日志记录以输出回复内容,增强调试能力
|
2025-04-10 00:50:29 +08:00 |
|
lixiangwuxian
|
fae490f43e
|
fix: 移除 help 函数中不必要的节点消息 ID 设置
|
2025-04-10 00:42:42 +08:00 |
|
lixiangwuxian
|
169f176192
|
feat: 更新 SendMsg 和 SendForward 函数以支持字符串类型的用户ID和群组ID,增强数据处理的灵活性
|
2025-04-10 00:37:43 +08:00 |
|
lixiangwuxian
|
09b4edf387
|
feat: 在 SendForward 函数中添加日志记录以输出发送的消息包内容
|
2025-04-10 00:30:24 +08:00 |
|
lixiangwuxian
|
6b43a7bb4e
|
feat: 添加 SendForward 函数以支持消息转发,并更新 GenSendPkg 函数以处理转发逻辑
|
2025-04-10 00:18:06 +08:00 |
|
lixiangwuxian
|
7f0560b56e
|
fix: 修改多个处理函数的返回类型为指针类型,以提高内存使用效率并避免不必要的拷贝
|
2025-04-09 23:28:39 +08:00 |
|
lixiangwuxian
|
6715d8324c
|
feat: 在 actionManager 中添加等待机制,确保在发送消息前 bot 已启动;新增初始化处理程序以发送初始化完成消息
|
2025-03-24 23:29:14 +08:00 |
|
|
f87922883e
|
fix: Update configuration structure to include Management section for WebSocket and HTTP server addresses
|
2025-03-24 16:28:15 +08:00 |
|
lixiangwuxian
|
db4d232464
|
feat: 添加群组和群成员信息获取功能
- 新增 action/group_member.go 文件,实现获取群组列表和群成员列表的方法
- 在 constants/uri.go 中定义群组相关的 API 路径常量
- 在 model/group.go 中添加群组和群成员的数据结构定义
|
2025-03-09 18:08:32 +08:00 |
|
lixiangwuxian
|
db054c6a70
|
feat: 为消息发送添加线程安全机制
|
2025-03-09 14:11:55 +08:00 |
|
lixiangwuxian
|
a36008847c
|
refactor: 移除CQ消息生成工具函数
|
2025-03-08 16:57:23 +08:00 |
|
lixiangwuxian
|
f1e2fb6a20
|
feat: 完善消息模块,新增多种消息类型和统一消息解析机制
|
2025-03-08 16:50:38 +08:00 |
|
lixiangwuxian
|
13ea5d7f98
|
feat: 重构消息处理模块,引入统一的消息接口和类型安全的消息解析
|
2025-03-08 16:10:06 +08:00 |
|
lixiangwuxian
|
d464f18fbd
|
feat: add GetGroupMemberList function to actionManager for retrieving group member IDs and initiate websocket communication
|
2025-01-15 15:36:20 +08:00 |
|
lixiangwuxian
|
a13a33e572
|
refactor: rename GenReply to GenReplyCQ for clarity and update SendMsg to use the new function; add GenPokePkg and GenGetGroupMemberListPkg for enhanced action handling
|
2025-01-10 02:12:45 +08:00 |
|
lixiangwuxian
|
978aa6a04e
|
fix: 修复各种问题
|
2024-11-08 00:43:06 +08:00 |
|
lixiangwuxian
|
7e28953a56
|
refactor: 重构消息发送模型
|
2024-10-28 02:58:08 +08:00 |
|
lixiangwuxian
|
d4b8e7c11f
|
refactor: 重构ss输出,重构url解析
|
2024-10-17 01:51:00 +08:00 |
|
lixiangwuxian
|
af232c2ecf
|
feat: 添加回复功能
|
2024-10-15 23:05:57 +08:00 |
|
lixiangwuxian
|
4d6c22ff7b
|
init: 初始化仓库
|
2024-10-08 01:34:26 +08:00 |
|