Fix member function get_login_info() and send_group_forward_msg() in cqApi.py #57
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
在0.5.1.1 中,执行 cqapi.get_login_info()会报错FLAG NOT FOUND,原因是get_login_info()中的return的cqhttp api不对.
这个版本解决了这个问题.
(以下是有异议部分)
我查阅了cqhttp api后觉得send_group_forward(group_id,message)中的message应该为list[dict]类型或者list[str]类型,而不是str类型.
但是我在更改后使用send_group_forward_msg和更改前(即message:str)一样,都是api报错100.
我觉得这样改是对的,但是我不知道为什么会报错.这是有争议的部分.