Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【bug?】日常使用遇到的 #96

Open
CM-Edelweiss opened this issue Jan 21, 2025 · 9 comments
Open

【bug?】日常使用遇到的 #96

CM-Edelweiss opened this issue Jan 21, 2025 · 9 comments
Labels
bug Something isn't working

Comments

@CM-Edelweiss
Copy link

1.cooldown.py多了打印使用时比较刷log

print(self.timestamps)

receive_respon_message更是要卡时间触发(

2.没有ck开签到等服务直接报错
希望进行提示

3.命令触发时的log遇到<>会识别成颜色标签,无法识别而报错
(不影响使用)

4.高版本的httpx访问qq图片的会出现ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1006)错误
测试代码
Image
0.27.2
Image
0.28.1

Image

@KimigaiiWuyi KimigaiiWuyi added the bug Something isn't working label Jan 21, 2025
@KimigaiiWuyi
Copy link
Contributor

receive_resp和on_message更是要卡时间触发(
这是什么意思

@CM-Edelweiss
Copy link
Author

CM-Edelweiss commented Jan 21, 2025

开了启用同个人触发命令CD后,比如触发命令后回复receive_resp消息,回复过快就被cooldown拦截了(
on_message更是每条消息都当命令

@KimigaiiWuyi
Copy link
Contributor

开了启用同个人触发命令CD后,比如触发命令后回复receive_resp消息,回复过快就被cooldown拦截了( on_message更是每条消息都当命令

这两个好像都是预期效果

@KimigaiiWuyi
Copy link
Contributor

f675eac

@CM-Edelweiss
Copy link
Author

开了启用同个人触发命令CD后,比如触发命令后回复receive_resp消息,回复过快就被cooldown拦截了( on_message更是每条消息都当命令

这两个好像都是预期效果

希望有单独开关,`receive_resp`本来就是一套指令内部处理模式了,比如用来补充用户发的信息就不需要多次cd了。

`on_message`用了统计特定信息也不需要cd,比如统计`谁@我`。

@KimigaiiWuyi
Copy link
Contributor

receive_resp似乎是有这个需求
on_message不一定吧,而且你要统计谁at我感觉可以直接读取消息log算了,不用一直记录

@CM-Edelweiss
Copy link
Author

on_message雀食可以。另外被拦截后连消息log都没了

@KimigaiiWuyi
Copy link
Contributor

至此,123均解决,4的话怀疑是系统环境问题,请尝试 #87 的解决方法

@CM-Edelweiss
Copy link
Author

至此,123均解决,4的话怀疑是系统环境问题,请尝试 #87 的解决方法

httpx#3475已经有此问题了,像是TLS版本不兼容导致的,可以降到0.27.2或者使用http链接解决
#95 貌似也是这种问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants