Commit Graph

64 Commits

Author SHA1 Message Date
kotoriのねこ
8c8fa8ea99
💄 Format with black 24.x.x
* 💄 Format with black 24.x.x

* 💄 Update black version to 24.x.x in pre-commit check
2024-03-16 09:44:15 +08:00
omg-xtao
3252f43dc8
Add channel alias service 2024-03-10 20:40:26 +08:00
omg-xtao
39abd0cd52
support cookies import and export 2023-12-19 00:51:36 +08:00
omg-xtao
d64b763a29
🐛 Fix load old player card info TypeError 2023-12-06 14:16:23 +08:00
Lei Shi
031198b08d
Add gcsim commands
Signed-off-by: Lei Shi <me@leishi.io>
Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
Co-authored-by: CHxCOOH <chxcooh@googlemail.com>
Co-authored-by: xtaodada <xtao@xtaolink.cn>
Co-authored-by: Nahida <53059854+NahidaBuer@users.noreply.github.com>
Co-authored-by: omg-xtao <100690902+omg-xtao@users.noreply.github.com>
2023-12-03 14:33:29 +08:00
8b8057769a
🐛 Fix load old player card info TypeError 2023-11-30 22:02:39 +08:00
Nahida
58f1ecc857
Add Set Command Plugin and Fix Some Bug 2023-11-23 11:41:55 +08:00
洛水居室
4db94c621c
🎨 Improve the error message alerts for player card 2023-11-08 13:39:17 +08:00
kotoriのねこ
1bda5a9d86
Use updated python-genshin-artifact 2023-11-08 10:14:01 +08:00
kotoriのねこ
014986c1ca
Fix linting issues 2023-11-06 16:10:47 +08:00
洛水居室
a45db101c8
🎨 Add Exception Handler in Damage Analysis 2023-10-24 16:33:21 +08:00
luoshuijs
14a9b8a55c
Add Transformative Damage Support 2023-10-24 12:05:08 +08:00
luoshuijs
7984d1b321
Damage Analysis
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-10-23 00:25:47 +08:00
omg-xtao
b52e532343
♻️ Refactor get fight prop rule 2023-10-07 23:33:16 +08:00
洛水居室
7580265bff
🎨 Mask UID in update_player_card 2023-09-13 08:12:51 +08:00
luoshuijs
1f73588e28
Replace aiohttp with httpx in enkanetwork.py 2023-09-06 11:12:46 +08:00
luoshuijs
468ed22a26
Mask sensitive information in player id 2023-08-26 18:19:00 +08:00
洛水居室
6916b4fa2d
🐛 Fixed update_player_card callback_data format issue 2023-07-29 01:00:52 +08:00
洛水居室
ec05851746
🐛 Fix check for EnkaNetworkResponse.characters 2023-07-10 00:42:36 +08:00
洛水居室
17c66e2142
🐛 Fix check for EnkaNetworkResponse.characters 2023-07-08 14:02:49 +08:00
洛水居室
eed418477f
♻️ Rename HTML templates to use .jinja2 extension
Previously, all templates were named with the .html extension, which caused problems for editors to recognize the Jinja2 syntax used in them. In this commit, all templates have been renamed to use the .jinja2 extension to better reflect their use of Jinja2 and to improve editor recognition.
2023-05-09 19:19:32 +08:00
洛水居室
1f1734ca03
🐛 Fix TypeError exception caused by characters is None 2023-03-18 22:03:56 +08:00
LittleMengBot
72154924be
Update /play_card placeholder image
Update current player showcase after updating character list.
Use asynchronous locks to make file read/write thread-safe.
Update `EnkaNetworkCache`.

---------

Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
2023-03-17 13:33:29 +08:00
洛水居室
4d4aa30069
🎨 Update Callback Query Handler 2023-03-16 23:00:04 +08:00
洛水居室
233e7ab58d
♻️ PaiGram V4
Co-authored-by: luoshuijs <luoshuijs@outlook.com>
Co-authored-by: Karako <karakohear@gmail.com>
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-03-14 09:27:22 +08:00
洛水居室
5f3da3b55c
🐛 Fix Handling Exception Error 2023-02-09 13:57:16 +08:00
洛水居室
2cf4b7e55d
🐛 Fix Bug Due to enkanetwork.py Code Update
5b344f609f
eaab479b8b
2023-02-08 22:56:25 +08:00
洛水居室
e31d4bb48c
🎨 Update Player Card Restricts Time 2023-02-01 17:01:36 +08:00
omg-xtao
28e0890390
Support Flip In Player Cards 2023-01-20 23:43:39 +08:00
omg-xtao
b0576589b7
Support File Cache Player Cards 2023-01-20 23:43:39 +08:00
Nahida
764834de2f
🎨 Move All user_mismatch Notice to the Aame Place 2023-01-08 04:01:28 +08:00
洛水居室
6371db3b5e
Use Redis to Cache EnkaNetwork Data 2022-12-27 21:56:12 +08:00
洛水居室
0f63a5aaff
🔥 Remove fix_skills_level
EnkaNetwork.py has submitted this fix
[Add Skill boosted](821ce2f420)
2022-12-11 15:03:23 +08:00
洛水居室
80b96d4c51
🎨 Update get_args 2022-12-01 10:27:27 +08:00
洛水居室
a2656d2df7
Use create_deep_linked_url to create url 2022-11-28 16:38:49 +08:00
hakureiyuyuko
3f4d9031b7
📝 Update player_cards.py
6
2022-11-17 16:34:59 +08:00
洛水居室
ff6f0b6f39
🐛 Fix wrong message reply 2022-11-14 21:56:02 +08:00
洛水居室
15d872ba35
🐛 Fix missing text descriptions
修复部分文本缺失问题
2022-10-30 21:42:13 +08:00
omg-xtao
bf90ca55f9
🎨 优化报错提醒 2022-10-22 21:54:04 +08:00
Chuangbo Li
f122e21092
增加 html to image 的缓存
* 增加 html to image 缓存
* 对 template_service.render 进行封装,管理缓存逻辑
* cache key 为 html 的 sha256
* cache value 为 reply_photo 后 telegram 返回的 file_id
* 存入 redis,并设置合理的 ttl

Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2022-10-22 15:03:59 +08:00
洛水居室
55f3086c4c
🐛 修复回复消息时 photoNone 引发的错误 2022-10-19 15:15:47 +08:00
Chuangbo Li
ada56a2382
增加用于模板预览和调试的 web server 2022-10-12 21:39:47 +08:00
洛水居室
59be6fc7a4
🎨 Update the text of a reply when bot query user does not exist 2022-10-12 17:35:59 +08:00
洛水居室
ec8175eea2
🎨 提高代码质量 2022-10-11 14:45:07 +08:00
b1c6e7456f
️ 为抽卡分析添加缓存 2022-10-10 11:37:58 +08:00
洛水居室
4843e3d846
🎨 修改圣遗物评分返回的颜色 2022-10-09 12:52:39 +08:00
9b10e382b0
支持使用 query_selector 限制截图区域 2022-10-08 15:37:30 +08:00
洛水居室
0f343a0e3c
🎨 添加 enka_network_api_agent 可选配置项 2022-10-07 13:56:04 +08:00
omg-xtao
ec71907701
♻️ 重写 Aiohttp 超时抛出异常
Co-authored-by: Karako <karakohear@gmail.com>
2022-09-28 08:22:47 +08:00
洛水居室
340741543a
🎨 角色卡片插件 get_player_cards 函数添加 @error_callable 修饰器 2022-09-15 09:29:41 +08:00