Home

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 实现!

License codecov
pdm-managed Python Version Pydantic v2
PyPI Version OneBot 4A NoneBot Version
NoneBot Registry Supported Adapters

</div>

安装

nb plugin install nonebot-plugin-all4one
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

Middlewares

相关链接