Awesome
<div align="center"> <img width="200" src="https://raw.githubusercontent.com/nonepkg/nonebot-plugin-all4one/master/docs/logo.png" alt="logo"></br>Nonebot Plugin All4One
让 NoneBot2 成为 OneBot 实现!
</div>安装
- 使用 nb-cli
nb plugin install nonebot-plugin-all4one
- 使用 pdm
pdm add nonebot-plugin-all4one
使用
obimpl_connections = [{"type":"websocket_rev","url":"ws://127.0.0.1:8080/onebot/v12/"}] # 其它连接方式的配置同理
middlewares = ["OneBot V11"] # 自定义加载的 Middleware,默认加载全部
Feature
OneBot
- HTTP
- HTTP Webhook
- 正向 WebSocket
- 反向 WebSocket
Middlewares
- OneBot V11
- Telegram
- Discord 测试中
- QQ @he0119 寻求新维护者
相关链接
- nonebot/adapter-onebot 复用代码
- zhamao-robot/go-cqhttp-adapter-plugin OneBot V11 -> V12 逻辑参考
- iyume/nonebot-plugin-params 灵感来源
- felinae98/nonebot-plugin-send-anything-anywhere 友情推荐
- nonebot/plugin-alconna 同上