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

Dev #46

Merged
merged 10 commits into from
Aug 23, 2024
Merged

Dev #46

merged 10 commits into from
Aug 23, 2024

Conversation

17TheWord
Copy link
Owner

No description provided.

添加了适配器的功能性扩展,以支持发送私人消息。实现了新的PrivateMessageData模型,并在adapter.py中添加了相应的处理逻辑。

此外,对异常处理进行了优化,为send_private_msg API调用引入了更具体的错误检查,以提高代码的健壮性和错误消息的清晰度。
重构发布工作流,将环境变量和权限提升到作业配置的顶部。移除安装Poetry的硬编码步骤,改用curl命令,同时配置PyPI API令牌作为环境变量,以增强安全性。简化版本获取和包发布的步骤,提高整体工作流的效率和可靠性。
将Velocity事件中的game_profile和player_settings数据结构从dict转换为Pydantic BaseModel模型,提高类型安全和可读性。远程地址字段现在是一个字典,以适应更复杂的数据结构。

BREAKING CHANGE: 此更改可能影响依赖于event.game_profile和event.player_settings为dict类型的下游系统。用户需要更新他们的代码以处理这些字段现在是Pydantic模型的情况。
@17TheWord 17TheWord merged commit 18b904d into main Aug 23, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant