Commit Graph

51 Commits

Author SHA1 Message Date
6aa55f21de
🐛 Fix handle CookieServiceError 2024-11-13 17:29:41 +08:00
1378970fea
🐛 Fix handle PlaywrightTimeoutError 2024-11-13 17:26:00 +08:00
8b17c74d9e
🐛 Add TooManyRequestPublicCookies to error handler 2024-11-13 17:25:58 +08:00
fc28f68bd0
👷 Update to MibooGram 2024-07-04 19:09:48 +08:00
omg-xtao
c03304d101
Support inline use 2024-06-19 16:29:47 +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
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
omg-xtao
39abd0cd52
support cookies import and export 2023-12-19 00:51:36 +08:00
b36e515076
📝 Change InvalidDevice Error Notice 2023-12-17 18:38:58 +08:00
omg-xtao
948759b26e
Filter the same type of error 2023-11-23 14:27:25 +08:00
洛水居室
d6d2506f25
🎨 Add error handling for InvalidDevice 2023-11-19 00:46:27 +08:00
868b14ab58
🐛 Fix handle NeedChallenge 2023-11-16 13:19:53 +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
omg-xtao
5e18290f9a
Handle All PlayerNotFoundError, CookiesNotFoundError 2023-08-21 22:42:44 +08:00
洛水居室
c6e4ca4f30
🎨 Update TimeoutException Log 2023-08-21 12:06:27 +08:00
omg-xtao
e9992969fa
🐛 Fix region class error 2023-07-19 20:28:19 +08:00
luoshuijs
dcf8bd5929
Attempt to refresh after the Cookie expires 2023-07-19 11:37:30 +08:00
洛水居室
42e0b8b8db
🎨 Update process_genshin_exception 2023-07-19 10:55:52 +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
洛水居室
d386a47ac7
🐛 Fix TypeError exception caused by message is None 2023-04-11 09:45:06 +08:00
洛水居室
a06eb61b49
🎨 Improve code quality 2023-03-27 10:55:12 +08:00
洛水居室
b60094eef0
🎨 Update exception notifications 2023-03-17 12:06:58 +08:00
洛水居室
51c01268fa
🐛 Fix Exception Handler 2023-03-17 08:31:31 +08:00
洛水居室
63c75307e3
🎨 Update Exception Handler 2023-03-16 23:18:39 +08:00
洛水居室
7bca698c18
🐛 Fix wrong file identifier specified
When encountering an error file ID, it should be removed from the cache.
2023-03-15 16:33:59 +08:00
洛水居室
7b62d86f46
🎨 Add to schedule for deletion after sending exception information 2023-03-14 13:53:05 +08:00
洛水居室
e24cd2a44d
🐛 Fix incorrect handling of timeout exceptions in httpx 2023-03-14 10:40:27 +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
洛水居室
16dfd5021e
🎨 Use ujson to Convert Data 2023-01-07 16:00:52 +08:00
洛水居室
99f2482caf
🎨 Update error handler for NetworkError and TimedOut exceptions 2022-12-04 20:03:07 +08:00
洛水居室
6cfe029a8d
🐛 Fix wrong params passed to isinstance 2022-11-25 16:42:09 +08:00
洛水居室
da0faf6d98
🎨 Handle NetworkError and TimedOut exceptions separately 2022-11-24 23:02:27 +08:00
洛水居室
bda5f4fdd0
🎨 Improve error push 2022-11-21 14:57:12 +08:00
Karako
f0b287dcfe
🎨 Improve config 2022-10-28 15:11:14 +08:00
洛水居室
7c34167ff4
🐛 修复通知无法发送的问题 2022-10-21 20:31:58 +08:00
洛水居室
24c63002cd
🐛 修复未配置错误通知时依然发送日记导致的异常 2022-10-21 19:07:49 +08:00
洛水居室
e6c25aaa98
🎨 优化异常处理 2022-10-21 15:07:41 +08:00
洛水居室
57f0029a42
🎨 优化错误平台模块 2022-10-20 22:21:26 +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
洛水居室
ec8175eea2
🎨 提高代码质量 2022-10-11 14:45:07 +08:00
Chuangbo Li
345edb9fe5
🎨 使用 black 格式化所有代码 2022-10-10 19:07:28 +08:00
omg-xtao
0c62cc8b27
🐛 批量修复代码BUG
⚙️ 获取 Redis cookies 池函数从 `zrevrange` 替代为 `zrange`
🐛 修复 fakeredis 无效
📝优化文本描述
🎨 提高代码质量

Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
2022-09-15 09:29:41 +08:00
洛水居室
a653a25562
🎨 修改错误报告的形式为文件发送 2022-09-11 21:15:01 +08:00
洛水居室
91a7e93d1d
🐛 修复 error_handler 无法打印 tranceback 问题 2022-09-10 12:05:52 +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
洛水居室
e770efbc8b
🎨 修改发送错误时回复的错误信息 2022-08-31 21:19:17 +08:00
Chuangbo Li
059bcd5e70
🔧 使用 dotenv 重构 config
* 🔧 使用 dotenv 重构 config

默认配置从 config.json 移动到 config.py 中。如果要覆盖默认配置,在根目录创建
.env 文件按照 .env.example 的例子编辑。

这个方案的优点是:

* 支持写注释
* 以后如果新增配置项,如果用默认值就可以,不需要修改 .env 文件
* 如果通过 serverless、docker 或者 k8s 部署,方便不用修改文件,直接注入环境变量
  修改配置
2022-08-26 23:10:27 +08:00