No project description provided
Project description
安装
从 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
相关链接
- nonebot-adapter-onebot 复用代码
- zhamao-robot/go-cqhttp-adapter-plugin OneBot V11 -> V12 逻辑参考
- nonebot-plugin-params 灵感来源
- felinae98/nonebot-plugin-send-anything-anywhere 友情推荐
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot-plugin-all4one-0.1.0a3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 436a05acdd8d9539bbdfcd26c160cadb528396790db259afb9cb8c7e47dba1f8 |
|
MD5 | a50815f0d43ecdfe14650fbca5476eb0 |
|
BLAKE2b-256 | 350ae440b923baaa5871c98fc50428a7c2e7358f09f60c8198da64b4959448b9 |
Close
Hashes for nonebot_plugin_all4one-0.1.0a3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69342d1a51b22188c1d9b28dabf3eebcf2db0adecb4b75027802acc1ebd8bdf0 |
|
MD5 | d91e8ad91493654b807cdac24cc86321 |
|
BLAKE2b-256 | 69c1c604d2c9d71177b6f900958f4099060c955bfa9e683196175105aae60e0e |