Commit Graph

557 Commits

Author SHA1 Message Date
洛水居室
b129a791df
🎨 Refactor chat verification
- Changed `config.verify_groups` to a `Set[int]` type for optimized lookup.
- Used set membership checking instead of looping through `config.verify_groups` for verifying chats.

This results in cleaner code and potentially faster chat verification.
2023-10-08 14:58:25 +08:00
洛水居室
54d19baac9
🎨 Update NEW_CHAT_MEMBERS message handler 2023-10-08 14:03:28 +08:00
4808b37c63
🐛 Fix setcookie UnicodeEncodeError 2023-10-07 23:33:44 +08:00
omg-xtao
b52e532343
♻️ Refactor get fight prop rule 2023-10-07 23:33:16 +08:00
omg-xtao
92ee6da37a
🐛 Fix setcookies IntegrityError 2023-10-02 17:51:03 +08:00
a778f78c8a
🎨 ask set cookies when public request failed 2023-10-01 20:37:19 +08:00
6f09d52ec5
🐛 Fix ajax failure does not reapply 2023-09-30 22:29:24 +08:00
78b1b1ba15
🐛 Fix redeem cooldown error 2023-09-30 15:28:00 +08:00
omg-xtao
9cde25fc58
🐛 Fix post cut text and photo error 2023-09-30 10:49:04 +08:00
洛水居室
16c28db1cc
🎨 Update NEW_CHAT_MEMBERS message handler 2023-09-26 18:53:12 +08:00
203c7ac5df
🐛 Fix stoken is invaild 2023-09-25 20:46:08 +08:00
omg-xtao
f7f1bd1a62
Support hoyolab redeem code 2023-09-15 23:56:22 +08:00
洛水居室
c2bcd0bf19
🎨 Delete NEW_CHAT_MEMBERS message during group captcha 2023-09-13 12:18:22 +08:00
洛水居室
aef1cb4c02
🎨 Update Wish Log Error Handler 2023-09-13 08:25:19 +08:00
洛水居室
7580265bff
🎨 Mask UID in update_player_card 2023-09-13 08:12:51 +08:00
omg-xtao
382e64e606
Support get gacha log url 2023-09-12 22:58:08 +08:00
luoshuijs
4b1a2128ab
🐛 Fix Missing Parameters
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-09-11 21:24:05 +08:00
洛水居室
c6799187dd
🎨 Improve Cookies Status Update Handler 2023-09-10 02:08:11 +08:00
洛水居室
8b4274482c
🎨 Improve log 2023-09-10 01:53:50 +08:00
luoshuijs
b208e31503
🎨 Add cookies status update 2023-09-09 23:56:53 +08:00
洛水居室
3ae7157b73
🐛 Fix ChatPermissions changes 2023-09-09 23:38:31 +08:00
7c56d688b2
🐛 Fix telegram api 6.8 changes 2023-09-09 23:03:35 +08:00
omg-xtao
16a718129b
Add job - daily_refresh_cookies 2023-09-09 22:10:58 +08:00
洛水居室
2bed5f8743
🐛 Fix overseas account birthday card causing cookie refresh issue
Fixed an issue where obtaining birthday cards with overseas accounts caused abnormal Cookies refresh.
2023-09-07 23:17:23 +08:00
luoshuijs
f1de1c987d
🎨 Fix Some Issues Identified
🎨 Improve f-string used without any expression

🎨 Remove unnecessary else / elif used after return
2023-09-06 15:27:03 +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
631dea7700
🐛 Fix wish and pay log PlayerNotFoundError 2023-09-01 10:04:39 +08:00
f7e9412125
🎨 Extend gacha log photo width 2023-08-29 15:20:02 +08:00
洛水居室
d945b91a9d
🐛 Fix the missing account_id field when setting the Cookies 2023-08-28 20:23:18 +08:00
dbffd308e6
Support UIGF v2.3 2023-08-27 15:14:05 +08:00
luoshuijs
468ed22a26
Mask sensitive information in player id 2023-08-26 18:19:00 +08:00
洛水居室
54b8ee65f7
🐛 Fix client unable to get player stats data
Previously, the client couldn't retrieve the latest player stats from the `client.get_genshin_user()` function without first browsing the application. It was necessary to call `client.get_record_cards()` to trigger a refresh.
2023-08-22 10:20:11 +08:00
omg-xtao
5e18290f9a
Handle All PlayerNotFoundError, CookiesNotFoundError 2023-08-21 22:42:44 +08:00
e2095edf81
🐛 Fix auto refresh cookies 2023-08-21 21:28:48 +08:00
luoshuijs
eb3752923e
🎨 Refactor download_icon for improved readability and efficiency 2023-08-21 17:17:15 +08:00
洛水居室
7d9ddfc0e8
🐛 Fix unexpected value 2023-08-21 16:35:01 +08:00
洛水居室
3b1460a177
🎨 Update Material Domain Data 2023-08-21 12:39:38 +08:00
洛水居室
c6e4ca4f30
🎨 Update TimeoutException Log 2023-08-21 12:06:27 +08:00
洛水居室
5e814d5a68
Add hydroculi to genshin stats 2023-08-21 10:05:08 +08:00
luoshuijs
5c26a65c58
🐛 Fix incorrect matching with commands containing @
Resolved the issue where commands with an '@' symbol, such as "/abyss@MasterBot", were not being matched correctly due to the regular expression pattern. The pattern has been updated to handle such cases.
2023-08-20 20:43:58 +08:00
2cc1d98a2d
🐛 Fix stoken v2 do not save mid 2023-08-16 23:00:44 +08:00
omg-xtao
6aac339b20
qlogin support get full token 2023-08-09 13:08:56 +08:00
e4b138bc57
🐛 Fix task job raise StaleDataError 2023-08-04 09:56:34 +08:00
af2e9bdb9b
🐛 Fix abyss floor IndexError 2023-08-02 15:18:11 +08:00
洛水居室
6916b4fa2d
🐛 Fixed update_player_card callback_data format issue 2023-07-29 01:00:52 +08:00
fed5eb3cd2
🐛 Fix daily note task status update 2023-07-28 09:36:52 +08:00
omg-xtao
9408102a82
🐛 Fix daily note task timeout 2023-07-24 20:27:49 +08:00
omg-xtao
3977680cc2
🐛 Fix daily note task region type error 2023-07-24 00:43:57 +08:00
32a5a51e05
📝 Update setcookie help message 2023-07-24 00:24:32 +08:00