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

关于 libonebot 在机器人逻辑端复用的提案 #15

Open
crazywhalecc opened this issue Nov 23, 2021 · 1 comment · Fixed by #30
Open

关于 libonebot 在机器人逻辑端复用的提案 #15

crazywhalecc opened this issue Nov 23, 2021 · 1 comment · Fixed by #30
Labels
area/function 关于功能 blocked/require-more-info 需要更多信息 kind/feature 这是个功能/特性

Comments

@crazywhalecc
Copy link
Member

描述

如题所见,php-libonebot 本项目是面向实现者快速实现 OneBot 标准的机器人 IM 端,很多对象例如 Event 系列的,从理论角度说是可以在 SDK 中复用的。一些可复用项可以先进行评估,决定如何处理兼容性问题。

例子

例如在 SDK 中快速将事件 JSON 转换为 XXXEvent 对象,左右两端可以使用同样的结构。

@crazywhalecc crazywhalecc added area/function 关于功能 kind/feature 这是个功能/特性 labels Nov 23, 2021
@crazywhalecc
Copy link
Member Author

貌似把 Driver 的接口暴露出来,让它可以单独运行,完全可以实现复用。我想之后就可以通过引入 libonebot 来实现框架 3.0。

@crazywhalecc crazywhalecc added the blocked/require-more-info 需要更多信息 label Jan 1, 2022
@crazywhalecc crazywhalecc linked a pull request Jan 7, 2022 that will close this issue
@sunxyw sunxyw closed this as completed Jan 7, 2022
@sunxyw sunxyw reopened this Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/function 关于功能 blocked/require-more-info 需要更多信息 kind/feature 这是个功能/特性
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants