Commit Graph

133 Commits

Author SHA1 Message Date
c53de16302
Revert "🐛 Fix asset service download icon"
This reverts commit 4151b80c0b.
2024-04-23 21:04:17 +08:00
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
洛水居室
ac4610a57c
🎨 Optimize Import
Use the default json when ujson is not available
2023-11-16 13:58:32 +08:00
056266ce94
🐛 Fix patch circular import 2023-11-15 13:37:34 +08:00
omg-xtao
68cab4bd6b
Support auto import patch
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2023-11-07 15:37:40 +08:00
kotoriのねこ
014986c1ca
Fix linting issues 2023-11-06 16:10:47 +08:00
kotoriのねこ
d3f1425d09
Define DATA_DIR in path constants
Co-authored-by: omg-xtao <100690902+omg-xtao@users.noreply.github.com>
2023-11-04 13:42:15 +08:00
洛水居室
20c1910a98
🔥 Correct Return Type 2023-10-08 15:14:33 +08:00
洛水居室
b4ef81dae6
🎨 Update code style in utils/enkanetwork.py 2023-09-06 15:53:02 +08:00
luoshuijs
f401725ab0
🔥 Remove aiohttp 2023-09-06 11:21:54 +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
omg-xtao
e9992969fa
🐛 Fix region class error 2023-07-19 20:28:19 +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
23f08f5639
🐛 Fix pay_log gen error authkey 2023-07-17 15:55:35 +08:00
omg-xtao
a36aeef9c3
Support custom device 2023-06-19 11:41:22 +08:00
683ec7e8df
🔒 Filter bot_token in log 2023-06-15 13:14:07 +08:00
omg-xtao
d7bef825c2
🐛 Fix device too dynamic 2023-06-03 21:48:06 +08:00
Karako
eed8c3ad9c
🐛 Fix Logger
Fix the issue of incorrect colors being printed by logger when running on Linux
2023-03-21 13:53: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
洛水居室
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
洛水居室
f67eb74c04
🎨 Update Error Handler for Send User Notification 2023-02-21 09:27:01 +08:00
5945d7451e
⬆️ Upgrade EnkaNetwork 2023-02-19 14:20:34 +08:00
omg-xtao
a3e0461f41
Support Query Game Registration Time 2023-02-11 22:48:21 +08:00
洛水居室
3839d00a95
Update Unit Test
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-02-11 16:29:11 +08:00
洛水居室
ae7e47ec5d
🐛 Fix Too Many Arguments for Logging Format String 2023-01-06 21:07:48 +08:00
洛水居室
3294648ebd
🎨 Update Log 2023-01-06 18:03:20 +08:00
洛水居室
471ed052ea
Use ChatMemberHandler to Get Chat Member Updates
使用 ChatMemberHandler 获取 chat member updates

解决在部分群开启了隐藏成员列表后Bot无法工作的问题
2023-01-03 17:14:57 +08:00
洛水居室
6371db3b5e
Use Redis to Cache EnkaNetwork Data 2022-12-27 21:56:12 +08:00
洛水居室
6552606cc7
🎨 Improve code quality 2022-12-25 21:26:08 +08:00
0ca0739903
🎨 Update ds salt 2022-12-23 23:44:40 +08:00
洛水居室
a7eefa8c68
🎨 Update Client Type of Request Header 2022-12-23 23:02:25 +08:00
洛水居室
3de0f8beb5
🎨 Update Handle InvalidCookies Exception 2022-12-23 21:35:26 +08:00
洛水居室
807ae86e8a
🎨 Handle Not Enough Permissions Exception 2022-12-18 22:24:27 +08:00
洛水居室
cf22949a81
🐛 Fix unable to get AuthKey 2022-12-11 13:50:03 +08:00
洛水居室
4b976f70d5
♻ Refactor ApiHelper 2022-12-10 20:37:43 +08:00
洛水居室
bfab1ec213
🎨 Improve restrict and lower the restriction time 2022-12-02 14:53:41 +08:00
洛水居室
3c5ab10621
🎨 Update referer of genshin.py 2022-12-01 20:02:09 +08:00
洛水居室
80b96d4c51
🎨 Update get_args 2022-12-01 10:27:27 +08:00
洛水居室
29446e3443
🎨 Update headers of genshin.py 2022-12-01 09:29:15 +08:00
洛水居室
ba44956dd4
🐛 Fix error handler in callback query of error_callable
修复Bot在处理callback query的消息类型时回复的消息以和自动删除通知错误的问题
2022-11-30 11:08:19 +08:00
41b9bac0f2
get_chat support show can_manage_topics 2022-11-29 21:48:10 +08:00
洛水居室
f19c9bd67a
Add get_chat function with cache 2022-11-29 12:52:19 +08:00
洛水居室
0e4b1cdc1b
Use Client.get_hoyolab_user to get hoyolab id 2022-11-28 22:46:09 +08:00
洛水居室
a2656d2df7
Use create_deep_linked_url to create url 2022-11-28 16:38:49 +08:00
洛水居室
ceff8d0340
🎨 Added methods to generate the device_id from the v2 cookies 2022-11-26 15:58:13 +08:00
洛水居室
30b5f9329a
🎨 Improve exception handling and exception notification 2022-11-24 09:47:29 +08:00
洛水居室
c7b0f530f7
🎨 black code 2022-11-23 09:11:29 +08:00
洛水居室
71f53017b7
🎨 Update error handling decorator 2022-11-19 16:43:50 +08:00
洛水居室
4c10475dca
🎨 Update Exception-Handling for send_user_notification 2022-11-17 20:36:47 +08:00