Ching L
7f81574192
feat(discord): add win/loss status to match messages
...
continuous-integration/drone Build is passing
- Added win field to serialize_match_for_discord return data
- Display victory/defeat emoji and text at start of match messages
- Extract win status directly from data instead of inferring from embed color
2025-10-24 14:39:41 +08:00
Ching L
7498f413bf
fix: resolve streak notification issues
...
- Initialize global streak_updates variable to prevent NameError
- Fix streak notifications only showing for first match
- Ensure notifications appear once per batch instead of being lost
2025-09-11 15:17:23 +08:00
Ching L
c85eeb9d74
feat(discord): show player names at the beginning of match messages
...
continuous-integration/drone/push Build is passing
- Extract friend names from embed fields
- Display player names prominently before match details
- Maintain streak notifications ordering when present
2025-09-11 14:30:47 +08:00
Ching L
21c7b95653
feat: Update match result messaging to include streak notifications in the content
continuous-integration/drone/push Build is passing
2025-07-24 11:49:55 +08:00
Ching L
44336e5ff0
refactor: Move on_ready event definition to a more appropriate location and restore logging functionality
2025-03-13 16:35:44 +08:00
Ching L
e103e8706c
feat: Add streak tracking and notifications for friends' match results
2025-03-13 16:30:40 +08:00
Ching L
3b138437d1
feat: Adjust message sending interval based on game time
2025-03-10 09:12:43 +08:00
Ching L
23309d3976
feat: Implement delayed start for daily rank changes check
2025-03-07 11:45:09 +08:00
Ching L
27128c3557
refactor: Remove async from rank changes check function
2025-03-07 11:35:23 +08:00
Ching L
a697a6e636
feat: Add daily rank tracking for Discord friends TUN-143
2025-03-07 11:22:40 +08:00
Ching L
47f4df7803
refactor: Convert match serialization methods to async
2025-03-06 09:10:42 +08:00
Ching L
e2c6c9ea5b
feat: Add image generation and Cloudflare R2 upload support for match reports
2025-03-05 17:50:52 +08:00
Ching
8b97724b08
fix: 修复获取不到战报的问题 TUN-51 catch 发送消息时的 error
2024-05-10 11:07:53 +08:00
Ching
9e9732d406
feat: Add Sentry error tracking TUN-39
2024-03-28 09:37:36 +08:00
Ching
b7af493d34
feat(discord_bot): Add friend's activity status to get_friends function
2024-02-08 17:24:14 +08:00
Ching
74eec18240
feat(discord_bot): Add active flag to friend creation
2024-02-08 16:31:37 +08:00
Ching
30403d02c0
feat(models): Add activate_friend command to enable friends
2024-02-08 16:21:01 +08:00
Ching
309b4989e7
feat(models): Add deactivate_friend command and active field to Friend model
2024-02-08 15:46:44 +08:00
Ching
fa94f38536
feat(discord_bot): 增加添加朋友功能
...
增加添加朋友功能
Signed-off-by: Ching <loooching@gmail.com>
2024-02-01 11:49:15 +08:00
Ching
61566c20e1
feat(bot.py): 修改获取比赛的频率。增加报错 log
...
修改获取比赛的频率。增加报错 log
Signed-off-by: Ching <loooching@gmail.com>
2023-11-29 10:44:31 +08:00
Ching
7e7c9e4146
feat(discord_bot.py, dota.py, utils.py): 修改 logger,增加 log
...
修改 logger,增加 log
Signed-off-by: Ching <loooching@gmail.com>
2023-11-28 16:54:52 +08:00
Ching
0f4f29332c
fix(bot.py, dota.py): 修复 opendota 接口返回时间太长导致 discord 报错的问题;修改 Match.party_size 为 nullable
...
修复 opendota 接口返回时间太长导致 discord 报错的问题;修改 Match.party_size 为 nullable
Signed-off-by: Ching <loooching@gmail.com>
2023-10-03 22:53:09 +08:00
Ching
a8825db196
feat(bot.py): 增加 mod_friend 修改朋友名字功能
...
增加 mod_friend 修改朋友名字功能
Signed-off-by: Ching <loooching@gmail.com>
2023-09-24 19:00:37 +08:00
Ching
07de32c6c8
feat(bot.py): 增加获取所有 friend 的命令
...
增加获取所有 friend 的命令
Signed-off-by: Ching <loooching@gmail.com>
2023-09-20 17:13:30 +08:00
Ching
cd1fc45044
feat(bot.py, dota.py, utils.py): 增加查询某人战绩的命令
...
增加查询某人战绩的命令
Signed-off-by: Ching <loooching@gmail.com>
2023-09-18 16:55:24 +08:00
Ching
df9e629cdb
feat(bot.py): 修改 logger 格式
...
修改 logger 格式
Signed-off-by: Ching <loooching@gmail.com>
2023-09-17 16:35:11 +08:00
Ching
862f164f84
feat(dota.py, bot.py, utils.py): 增加 logger 和 heartbeat
...
增加 logger 和 heartbeat
Signed-off-by: Ching <loooching@gmail.com>
2023-09-16 15:04:59 +08:00
Ching
7bf56375c6
feat(bot.py, utils.py): 修改了消息的格式,更改发送任务循环时间
...
修改了消息的格式,更改发送任务循环时间
Signed-off-by: Ching <loooching@gmail.com>
2023-09-16 13:03:31 +08:00
Ching
ee77d2bc92
feat(bot.py): 完成了发送消息功能
...
完成了发送消息功能
Signed-off-by: Ching <loooching@gmail.com>
2023-09-16 04:34:52 +08:00
Ching
2133b78299
feat(discord_bot.py): 增加了 discord_bot
...
增加了 discord_bot
Signed-off-by: Ching <loooching@gmail.com>
2023-09-15 19:51:07 +08:00