lixiangwuxian
|
5750128f60
|
fix: 修复 ScoreSaber 最近成绩获取的索引边界问题
|
2025-03-08 20:39:19 +08:00 |
|
lixiangwuxian
|
d68f9c0e89
|
fix: 初始化 BeatLeader 和 ScoreSaber 歌曲哈希映射,防止空指针异常
|
2025-03-08 20:37:36 +08:00 |
|
lixiangwuxian
|
8b4866b4d3
|
feat: 为 BeatLeader 和 ScoreSaber 添加通用歌曲 ID 获取方法
|
2025-03-08 20:35:53 +08:00 |
|
lixiangwuxian
|
7dbdaed21f
|
fix: 精简 BeatLeader 最近成绩 API 请求参数
|
2025-03-08 20:05:21 +08:00 |
|
lixiangwuxian
|
64dd6d6e9b
|
fix: 优化 BeatLeader 最近成绩获取的 API 请求参数
|
2025-03-08 20:02:34 +08:00 |
|
lixiangwuxian
|
f151d08473
|
fix: 优化 BeatLeader 最近成绩获取的排序参数
|
2025-03-08 19:58:27 +08:00 |
|
lixiangwuxian
|
f02b00fb6a
|
fix: 优化 BeatLeader 歌曲 ID 处理逻辑,增加健壮性
|
2025-03-08 19:46:54 +08:00 |
|
lixiangwuxian
|
beb8562690
|
fix: 修正 BeatLeader 最近成绩获取中的时间和玩家信息处理
|
2025-03-08 19:40:37 +08:00 |
|
lixiangwuxian
|
24aa3dd71a
|
fix: 修复 BeatLeader 最近成绩获取的 JSON 解析逻辑
|
2025-03-08 19:28:56 +08:00 |
|
lixiangwuxian
|
bfac7dfa59
|
refactor: 调整 BeatLeader 模块,注释并移除热门成绩相关功能
|
2025-03-08 19:22:41 +08:00 |
|
lixiangwuxian
|
33a59e6118
|
chore: 更新 Docker Compose 配置,定义网络设置并指定版本
|
2025-03-08 19:04:11 +08:00 |
|
lixiangwuxian
|
b0892412ce
|
feat: 优化 BeatLeader 和 ScoreSaber 数据查询逻辑,新增数据变更检测方法
|
2025-03-08 19:01:47 +08:00 |
|
lixiangwuxian
|
fcc99efe7e
|
feat: 优化最近成绩获取,并发下载歌曲封面并在消息中展示
|
2025-03-08 18:14:57 +08:00 |
|
lixiangwuxian
|
861ee37da3
|
fix: 调整最近成绩消息的换行符处理
|
2025-03-08 18:10:47 +08:00 |
|
lixiangwuxian
|
8c7afd1715
|
fix: 更新临时文件路径生成函数的目录名称
|
2025-03-08 17:59:58 +08:00 |
|
lixiangwuxian
|
e6cb03fdc5
|
fix: 修正图片文件路径生成逻辑,移除硬编码的文件前缀
|
2025-03-08 17:55:31 +08:00 |
|
lixiangwuxian
|
e4b25e1845
|
feat: 在最近成绩消息中添加歌曲缩略图
|
2025-03-08 17:52:34 +08:00 |
|
lixiangwuxian
|
06dc8ea4d1
|
fix: 修改图片处理逻辑,将文件扩展名从 .png 更改为 .jpeg
|
2025-03-08 17:35:10 +08:00 |
|
lixiangwuxian
|
6b58408cd2
|
chore: 添加 Docker 和策略配置文件到 .gitignore
|
2025-03-08 17:08:41 +08:00 |
|
lixiangwuxian
|
79f62f1b7f
|
refactor: 重构配置管理,使用强类型配置结构并更新相关代码
|
2025-03-08 17:08:28 +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
|
e0637ab81f
|
refactor: update file paths to use /tmp/qqbot for image generation
|
2025-02-23 01:13:26 +08:00 |
|
lixiangwuxian
|
38940fa07f
|
refactor: centralize temporary file path generation and update file references
|
2025-02-22 18:40:26 +08:00 |
|
lixiangwuxian
|
388cfdf377
|
refactor: modify cycle task initialization to start immediately for score cleanup
|
2025-02-22 18:16:54 +08:00 |
|
lixiangwuxian
|
df2ad0de94
|
feat: add binding checks in BindBL and BindSS functions to prevent account conflicts
|
2025-01-16 21:34:07 +08:00 |
|
lixiangwuxian
|
70d7e270d7
|
refactor: comment out scheduled database cleanup logic in cleanDB function for future implementation
|
2025-01-15 23:16:49 +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
|
9afe78301a
|
chore: add import for works package in main.go to support new features and functionality
|
2025-01-15 15:08:40 +08:00 |
|
lixiangwuxian
|
f9be1e6464
|
fix: correct variable name in RoundCheckSteamPlaying function to use gameList instead of gamePlayingMap for accurate game status reporting
|
2025-01-15 14:58:40 +08:00 |
|
lixiangwuxian
|
7eeee665ee
|
feat: enhance database maintenance with error handling and logging for VACUUM and PRAGMA optimize operations
|
2025-01-15 11:35:18 +08:00 |
|
lixiangwuxian
|
fd2ebce29e
|
refactor: update checkDiffSteamGameStatus to return a map for game statuses and add getAllSteamID function for retrieving all Steam IDs; enhance help messages for binding and unbinding Steam accounts
|
2025-01-15 11:14:11 +08:00 |
|
lixiangwuxian
|
9272c426e3
|
refactor: update logging format in MsgInHandler to include color coding for incoming and outgoing messages, enhancing readability and context in logs
|
2025-01-15 10:47:07 +08:00 |
|
lixiangwuxian
|
bad24ad2ec
|
feat: implement cleanup tasks for temporary files and database optimization
|
2025-01-15 10:42:07 +08:00 |
|
lixiangwuxian
|
db8ced6807
|
feat: add scheduled cleanup tasks for temporary files and old scores in works and beatleader/scoresaber services
|
2025-01-15 10:36:15 +08:00 |
|
lixiangwuxian
|
a607e45fe3
|
refactor: improve error messages in BindBL and BindSS functions to provide clearer feedback on input validation and player data retrieval issues
|
2025-01-15 10:35:46 +08:00 |
|
lixiangwuxian
|
d4d371fbbc
|
refactor: extend user message history retention and increase maximum history size for improved context management in headmasterHandler
|
2025-01-10 02:24:10 +08:00 |
|
lixiangwuxian
|
cd1e7cbe1c
|
refactor: enhance headmasterHandler to include received time in JSON responses for improved message context and consistency in message formatting
|
2025-01-10 02:20:52 +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
|
8dcef53924
|
feat: implement time wheel for scheduling tasks and refactor bond and steam playing checks to use new task scheduling utility
|
2025-01-10 01:27:50 +08:00 |
|
lixiangwuxian
|
fa635ad9f1
|
feat: add mutex lock to WebSocketClient for thread-safe message sending
|
2025-01-09 22:21:43 +08:00 |
|
lixiangwuxian
|
ffc73605e8
|
refactor: enhance headmasterHandler to include group nickname in JSON responses for better user context and improve message formatting consistency
|
2025-01-09 03:04:51 +08:00 |
|
lixiangwuxian
|
d3e9c9b0d6
|
refactor: modify headmasterHandler to include message origin ID in JSON response and adjust ReferOriginMsg flag for improved message tracking
|
2025-01-09 02:43:08 +08:00 |
|
lixiangwuxian
|
0a8ec74036
|
refactor: update message formatting in headmasterHandler to use JSON structure for improved data handling
|
2025-01-09 02:27:32 +08:00 |
|
lixiangwuxian
|
a2d8fe5e79
|
chore: update go-openai dependency to v1.36.1 and improve OpenAI client configuration in headmasterHandler
|
2025-01-09 02:03:47 +08:00 |
|
lixiangwuxian
|
72d2aad13e
|
feat: update WebSocket client initialization to use dynamic server address from configuration
|
2025-01-09 01:26:39 +08:00 |
|
lixiangwuxian
|
03fe508d7b
|
refactor: update headmasterHandler to handle user messages more flexibly and improve OpenAI client configuration with dynamic API key and model name from config
|
2025-01-09 00:59:05 +08:00 |
|
lixiangwuxian
|
9c589714ce
|
refactor: remove unused fields from BondData struct and update database schema for improved clarity and maintainability
|
2025-01-09 00:36:03 +08:00 |
|
lixiangwuxian
|
a35dfc74f0
|
refactor: clean up PlayerData struct by commenting out unused fields for better readability and maintainability
|
2025-01-08 22:52:06 +08:00 |
|