Skip to main content

No project description provided

Project description

logo

Nonebot Plugin All4One

NoneBot2 成为 OneBot 实现!

License Python Version NoneBot Version OneBot V12 PyPI Version codecov

安装

从 PyPI 安装(推荐)

  • 使用 nb-cli
nb plugin install nonebot-plugin-all4one
  • 使用 pdm
pdm add nonebot-plugin-all4one
  • 使用 pip
pip install nonebot-plugin-all4one

从 GitHub 安装(不推荐)

pdm add git+https://github.com/nonepkg/nonebot-plugin-all4one

使用

obimpl_connections = [{"type":"websocket_rev","url":"ws://127.0.0.1:8080/onebot/v12/"},{"type":"websocket_rev","url":"ws://127.0.0.1:4000/onebot/v12/", "self_id_prefix": "True"}] # 其它连接方式的配置同理
middlewares = ["OneBot V11"] # 自定义加载的 Middleware,默认加载全部
block_event = False # 是否中止已转发 Event 的处理流程,默认中止
blocked_plugins = ["echo"] # 在 block_event=False 时生效,可自定义处理流程中要中止的插件

Feature

OneBot

  • HTTP
  • HTTP Webhook
  • 正向 WebSocket
  • 反向 WebSocket

Middlewares

  • Console
  • OneBot V11
  • Telegram
  • QQ Guild @he0119
  • Kaiheila

相关链接

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot-plugin-all4one-0.1.0a3.tar.gz (38.9 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_all4one-0.1.0a3-py3-none-any.whl (40.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page