对于各不相同的onebot实现,是否可以考虑加一个标准API:api_available #79
crazywhalecc
started this conversation in
想法 / 建议
Replies: 4 comments
-
也许这个可以在群里讨论一下看看各实现作者的意见 |
Beta Was this translation helpful? Give feedback.
0 replies
-
还有支持的消息段列表也可以考虑 |
Beta Was this translation helpful? Give feedback.
0 replies
-
对每个 API/消息段,可以返回一个支持的级别: |
Beta Was this translation helpful? Give feedback.
0 replies
-
这个计划要打算实现了吗 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
这个是用来检查其他API是否可用的一个API,如果标准里面有这个,就可以在onebot的对接SDK上调用这个来确定API是否可用了?要不然每次用404来试感觉不优雅。而且有些如果要是对接其他平台,比如微信公众号,就不能使用set_group_admin之类的API,那个onebot兼容层实现起来就需要对那些接口返回不可用的状态。
Beta Was this translation helpful? Give feedback.
All reactions