Commit Graph

52 Commits

Author SHA1 Message Date
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
e634711648
🎨 update avatar list split count style 2024-05-27 21:20:51 +08:00
1b054b439c
Add Refresh History Job
fix #813
2024-05-24 22:10:54 +08:00
7c9a532369
🐛 Fix save empty abyss data history 2024-04-27 19:48:20 +08:00
omg-xtao
fbb7f028f0
Support query abyss history 2024-04-27 18:13:54 +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
omg-xtao
3252f43dc8
Add channel alias service 2024-03-10 20:40:26 +08:00
洛水居室
58e6144622
🐛 Fix the exception caused by the abyss floor being an empty list 2023-11-16 13:35:47 +08:00
洛水居室
feeb9d0152
🎨 Improve get_args function in Abyss Plugin 2023-10-20 12:33:46 +08:00
Nahida
d861ced411
🐛 fix abyss command 2023-10-20 11:58:17 +08:00
Stēlla Caerulea
c4712f0b07
♻️ Add Abyss team
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-10-20 00:25:20 +08:00
omg-xtao
441713236b
🐛 Fix support for Chinese public cookies
Co-authored-by: luoshuijs <luoshuijs@outlook.com>
2023-10-19 20:14:15 +08:00
luoshuijs
635b8444d5
🔥 Remove support for Chinese public cookies
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-10-17 22:56:03 +08:00
a778f78c8a
🎨 ask set cookies when public request failed 2023-10-01 20:37:19 +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
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
af2e9bdb9b
🐛 Fix abyss floor IndexError 2023-08-02 15:18:11 +08:00
luoshuijs
286bc48837
🔥 Remove the image replacement of the Abyss plugin 2023-07-21 11:39:15 +08:00
洛水居室
5261c7534c
🐛 Fix client unable to get CharacterRanks data
Previously, the client could not retrieve `CharacterRanks` data from the `client.get_spiral_abyss()` function if the app was not browsed first.
2023-07-20 12:14:30 +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
洛水居室
970bb42555
🔥 Remove get_record_cards 2023-03-27 10:59:39 +08:00
洛水居室
139c6758ae
🐛 Fix issue of incorrect parameters being passed when calling add_delete_message_job 2023-03-26 16:12:11 +08:00
洛水居室
ff84757ed3
🐛 Fix the issue of regular expression not matching uppercase characters 2023-03-17 09:19:11 +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
洛水居室
24ce0dac92
🎨 Add Handle 1034 Error Raised by Public Query 2023-01-07 15:39:54 +08:00
洛水居室
a2656d2df7
Use create_deep_linked_url to create url 2022-11-28 16:38:49 +08:00
洛水居室
79272ab330
🐛 Fix abyss not handling TooManyRequestPublicCookies exception correctly 2022-11-17 16:34:59 +08:00
Karako
8a4147a4ff
🐛 修复 type hits , 兼容 py3.8
Signed-off-by: Karako <karakohear@gmail.com>
2022-10-23 16:13: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
洛水居室
52365be57f
🎨 使用 AbyssNotFoundError 异常抛出对查询不到的信息进行处理 2022-10-14 16:51:15 +08:00
3fe62c0100
🐛 修复 ledger 无法查询其他月份 2022-10-13 00:41:40 +08:00
Chuangbo Li
ada56a2382
增加用于模板预览和调试的 web server 2022-10-12 21:39:47 +08:00
Karako
b678695f94
🐛 修复 abyss
Signed-off-by: Karako <karakohear@gmail.com>
Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
2022-10-12 19:03:15 +08:00
Karako
94b14773a7
🐛 修复 abyss 的 bug
修复未绑定 cookie 时, 使用`/abyss`查询具体层数的数据时出现的错误

Signed-off-by: Karako <karakohear@gmail.com>
2022-10-12 18:15:45 +08:00
Karako
57edccd925
Enhance abyss
Signed-off-by: Karako <karakohear@gmail.com>
Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2022-10-12 17:34:55 +08:00
Chuangbo Li
345edb9fe5
🎨 使用 black 格式化所有代码 2022-10-10 19:07:28 +08:00
洛水居室
e54e3803f5
🎨 改进对 TooManyRequestPublicCookies 异常处理 2022-10-09 13:45:50 +08:00
洛水居室
723fd4b10d
🐛 深渊数据查询 uid 为 None 的问题 2022-10-07 14:48:03 +08:00
Karako
4c702515a0
Enhance AssetsService
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2022-10-07 13:02:49 +08:00
洛水居室
c51e7692f1
🎨 修改 abyss 插件使用的角色图标为侧面图标 2022-10-06 11:46:06 +08:00
洛水居室
5413689202
深渊数据查询显示UID为 None 的问题并移除自动删除消息 2022-10-01 16:45:39 +08:00
omg-xtao
30cd89714f
🎨 修改深渊数据样式 2022-10-01 14:55:53 +08:00
洛水居室
13542ab9f8
深渊数据查询支持绑定UID查询 2022-10-01 14:51:48 +08:00
Karako
8f424bf0d4
♻ 更新V3版本
♻️ 重构插件系统
⚙️ 重写插件
🎨 改进代码结构
📝 完善文档

Co-authored-by: zhxy-CN <admin@owo.cab>
Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
Co-authored-by: xtaodada <xtao@xtaolink.cn>
Co-authored-by: Li Chuangbo <im@chuangbo.li>
2022-09-08 09:08:37 +08:00
洛水居室
d3fbc869f2
🎨 使用自定义异常抛出替代返回无深渊统计信息 2022-09-03 12:17:40 +08:00