Commit Graph

114 Commits

Author SHA1 Message Date
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
洛水居室
b323dc0e64
🐛 Fix TypeError exception in DailyRewardClient 2022-11-17 19:14:22 +08:00
洛水居室
b7d2e1962a
♻ Refactor handling of sign-in verification
重构每日签到的验证码处理
2022-11-17 16:34:59 +08:00
洛水居室
0b9c0a82fa
🎨 Update global exception handler 2022-11-14 21:09:37 +08:00
洛水居室
cbf23737cd
🎨 Update hex_digest for requests 2022-11-14 15:35:09 +08:00
洛水居室
e96da60d0c
🎨 Update get_ua function for requests 2022-11-14 14:13:22 +08:00
洛水居室
3b9596c6af
🎨 Use the latest DS function for genshin.py requests 2022-11-14 14:12:23 +08:00
洛水居室
9ed30d4143
🎨 Cancel authentication if cookies is None
处理 CookiesNotFoundError 异常
2022-11-12 23:08:25 +08:00
洛水居室
38541428b9
Add verification pass plugin
 添加验证通过插件

Co-authored-by: xtaodada <xtao@xtaolink.cn>
2022-11-12 20:59:42 +08:00
洛水居室
97257141b2
🎨 Add 1034 GenshinException error 2022-11-05 23:28:59 +08:00
Karako
fe9c1261a0
🐛 fix logger config
Signed-off-by: Karako <karakohear@gmail.com>
2022-10-28 15:39:17 +08:00
Karako
f0b287dcfe
🎨 Improve config 2022-10-28 15:11:14 +08:00
洛水居室
20ff3c5cf4
remove numpy
*  remove numpy

* 🗑️ remove `MT19937Random`
2022-10-27 13:15:11 +08:00
Karako
28a3c69892
🎨 改进 logger 2022-10-23 17:15:09 +08:00
omg-xtao
3f0331ed90
🚑️ 修复缺失 InlineKeyboardMarkup 2022-10-23 13:07:32 +08:00
033eaa697a
🎨 优化全局报错提醒 2022-10-23 00:40:30 +08:00
洛水居室
291b21f674
🔧 支持使用配置文件是否启用 genshin.py 模块的缓存 2022-10-22 23:52:00 +08:00
洛水居室
abf44075aa
genshin.py 添加 Redis cache 2022-10-22 16:29:10 +08:00
洛水居室
e6c25aaa98
🎨 优化异常处理 2022-10-21 15:07:41 +08:00
omg-xtao
1f17e56824
添加错误平台
Co-authored-by: SiHuan <sihuan@sakuya.love>
Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
2022-10-19 20:22:24 +08:00