Commit Graph

50 Commits

Author SHA1 Message Date
omg-xtao
c03304d101
Support inline use 2024-06-19 16:29:47 +08:00
2ef50e7efe
🐛 Fix Too Many Request in avatar list 2024-06-12 21:35:22 +08:00
omg-xtao
47e6b7f750
Support run command specifying uid 2024-06-12 19:59:16 +08:00
omg-xtao
01ed49f28b
⬆️ Upgrade python-telegram-bot to 21.x 2024-06-11 00:58:39 +08:00
Nahida
4034c5d30c
💬 Refactor some prompt text
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2024-06-07 23:22:30 +08:00
b5438fa735
🐛 Fix notice message delay delete in avatar list 2024-06-06 23:52:01 +08:00
e634711648
🎨 update avatar list split count style 2024-05-27 21:20:51 +08:00
omg-xtao
3237adfb97
avatar list send photos instead of document 2024-05-21 21:56:35 +08:00
2b24da0dde
🐛 Fix new uid length when mask number 2024-05-04 22:47:44 +08:00
00c233bc28
🎨 Increase avatars plugin max count 2024-04-28 23:41:25 +08:00
f57d6760ac
🐛 Fix default namecard navbar not found 2024-04-12 23:09:37 +08:00
omg-xtao
76cf36fb67
Support Ignore unbound user command in group 2024-03-25 20:48:19 +08:00
omg-xtao
3252f43dc8
Add channel alias service 2024-03-10 20:40:26 +08:00
luoshuijs
468ed22a26
Mask sensitive information in player id 2023-08-26 18:19:00 +08:00
omg-xtao
5e18290f9a
Handle All PlayerNotFoundError, CookiesNotFoundError 2023-08-21 22:42:44 +08:00
luoshuijs
c1012d206b
Use SIMNet and Remove genshin.py
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-07-18 17:29:31 +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
Karako
4e6b16d2ae
🐛 Fix avatar_list
Signed-off-by: Karako <karakohear@gmail.com>
2023-05-04 22:27:49 +08:00
Karako
ff0f20618b
🐛 Fix avatar_list command matching
Signed-off-by: Karako <karakohear@gmail.com>
2023-05-04 22:22:40 +08:00
Karako
c83406e996
🐛 Fix avatar_list command matching issue
Signed-off-by: Karako <karakohear@gmail.com>
2023-05-04 22:10:28 +08:00
洛水居室
007ef28d0b
🐛 Fix KeyError caused by improper parameter type for character star level retrieval 2023-04-28 14:51:31 +08:00
洛水居室
3ec8b96c02
🐛 Fix the issue of name_card being replaced when it is not None 2023-04-28 14:42:19 +08:00
洛水居室
9e23c1d20d
🐛 Fix the KeyError exception caused by the character rarity not found 2023-04-28 14:34:54 +08:00
洛水居室
85178d34ae
🎨 Update get_final_data 2023-04-28 09:29:16 +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
洛水居室
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
5945d7451e
⬆️ Upgrade EnkaNetwork 2023-02-19 14:20:34 +08:00
洛水居室
2cf4b7e55d
🐛 Fix Bug Due to enkanetwork.py Code Update
5b344f609f
eaab479b8b
2023-02-08 22:56:25 +08:00
洛水居室
98db3fe755
🎨 Update Handle InvalidCookies Exception 2023-01-07 15:27:00 +08:00
Nahida
b0300134cb
🐛 Fix avatar_list: AttributeError: 'NoneType' object has no attribute 'avatar'
The list of `Character` may contain `None`
2023-01-06 15:45:22 +08:00
Nahida
7013a61f49
🎨 Adjust Sort Rules in avatar_list.py 2023-01-05 15:06:59 +08:00
omg-xtao
3419088c89
🐛 Fix Avatar List Get name_card 2023-01-05 13:29:33 +08:00
洛水居室
6371db3b5e
Use Redis to Cache EnkaNetwork Data 2022-12-27 21:56:12 +08:00
洛水居室
f5f8735e88
🎨 Better Exception-Handling for AvatarListPlugin.get_final_data 2022-12-27 20:42:56 +08:00
洛水居室
6552606cc7
🎨 Improve code quality 2022-12-25 21:26:08 +08:00
洛水居室
e5ab9d71ca
🐛 Fix Field Does Not Exist
--
reason:
[EnkaNetwork](7a1a1489e5)
2022-12-25 20:51:30 +08:00
洛水居室
3de0f8beb5
🎨 Update Handle InvalidCookies Exception 2022-12-23 21:35:26 +08:00
洛水居室
a2656d2df7
Use create_deep_linked_url to create url 2022-11-28 16:38:49 +08:00
洛水居室
762c9bc907
🐛 Fix plugin not handling notice correctly in InvalidCookies exception 2022-11-17 16:35:00 +08:00
SiHuaN
514d1bf3b0
🔧 avatar_list: optimize retry code 2022-10-28 11:53:59 +08:00
SiHuan
3e4cd1db1c
🐛 fix avatar 2022-10-27 21:16:48 +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
Karako
e524a1b8bb
️ 提升 avatars-list 的性能
并发获取角色详情

Signed-off-by: Karako <karakohear@gmail.com>
2022-10-21 23:52:59 +08:00
洛水居室
aafcb424a9
🎨 设置 avatar_list 函数为非堵塞调用 2022-10-18 14:47:40 +08:00
omg-xtao
adec83108a
🐛 avatar 修复错误 2022-10-17 14:27:37 +08:00
Karako
cfbbfe91fb
🐛 修复未向养成计算器授权时出现的错误
🐛 修复读取名片时错误

Signed-off-by: Karako <karakohear@gmail.com>
2022-10-16 22:00:28 +08:00
Karako
cf7012bed0
🐛 当解析旅行者数据错误时、跳过旅行者
Signed-off-by: Karako <karakohear@gmail.com>
2022-10-16 20:57:35 +08:00
3b1a46837d
🐛 练度统计对旅行者特殊判断 2022-10-16 19:39:42 +08:00
Karako
b27f8af9a4
角色练度查询 2022-10-16 18:11:04 +08:00