Closed Ice9Coffee closed 3 years ago
或许1.4.0的实现不再需要显式指定retcode,直接调用str也能达到同样的目的。 目前的文档与新版实现有冲突,更新文档 or 代码做向下兼容,我觉得都可以。
you can create a pr to remove the docstring
you can create a pr to remove the docstring
这段docstring存在蛮久了,而且在aiocqhttp的文档中也有,直接删掉对基于aiocqhttp<=1.3.0开发机器人的开发者是不负责任的行为。 向前兼容 或 提示开发者有不兼容的更改 才是更合理的做法吧。
minor 版本号更新本来就不应该有不兼容的更改,这个当时 pr 合并得草率了(
you can create a pr to remove the docstring
这段docstring存在蛮久了,而且在aiocqhttp的文档中也有,直接删掉对基于aiocqhttp<=1.3.0开发机器人的开发者是不负责任的行为。 向前兼容 或 提示开发者有不兼容的更改 才是更合理的做法吧。
這次修改在 changelog 中提到了。即使是文檔還提到她只能代表文檔過期了。實際表現以 changelog 中提到的修改為准。
這次修改在 changelog 中提到了。
更新日志只说了“调整 ActionFailed 错误信息格式”,并没有说到不兼容
Fixed by #55
问题描述 'ActionFailed' object has no attribute 'retcode'
复现方法
期望的行为 见文档