Skip to content

nonepkg/plugin-all4one

Repository files navigation

logo

Nonebot Plugin All4One

NoneBot2 成为 OneBot 实现!

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

安装

  • 使用 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

相关链接

About

Make NoneBot as OneBot Implementation

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  

Languages