Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

支持 onebot 标准 #79

Open
cyanray opened this issue Mar 24, 2021 · 5 comments
Open

支持 onebot 标准 #79

cyanray opened this issue Mar 24, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@cyanray
Copy link
Owner

cyanray commented Mar 24, 2021

https://github.com/howmanybots/onebot

以满足不同人的需求。

需要逐步重构 MiraiBot 类,这个类写得实在是太糟糕了。

@cyanray cyanray added the enhancement New feature or request label Mar 24, 2021
@cyanray cyanray changed the title 支持 onebot 协议 支持 onebot 标准 Mar 24, 2021
@cyanray
Copy link
Owner Author

cyanray commented Mar 24, 2021

也许可以通过接口和继承来实现协议标准的切换? 将 MiraiBot 类变为一个接口,再写两个接口的实现: MiraiBot 和 OneBot。
当前的 MiraiBot 类重命名为 IBot 或者 IQBot ?

@cyanray

This comment has been minimized.

@super1207
Copy link

OneBot和MiraiHttpApi差异很大,如果要支持的话,功能会有一些缩减。

@cyanray
Copy link
Owner Author

cyanray commented Sep 4, 2021

OneBot和MiraiHttpApi差异很大,如果要支持的话,功能会有一些缩减。

可以说工作量非常大,所以一直没打算动手

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
@cyanray @super1207 and others