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 测试中
- OneBot V12
- 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.0a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17e347a5c4dcc8bccbb87cc121a2423b944a5a3df3fd3665eb5fc3f75cb16462 |
|
MD5 | 286ab80ebff57690de90a2cceb4db464 |
|
BLAKE2b-256 | 959eb2ab93545c67c71a96bc4df244980e429074d33b94b5f75d017cc48c74c5 |
Close
Hashes for nonebot_plugin_all4one-0.1.0a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44a95f1c46bb607f2c0061e5e3bf1e6afd0b22950920f10dd676c526a7a7f042 |
|
MD5 | c4a10fc1c09f2189161d84b159e62042 |
|
BLAKE2b-256 | 1c82189c786bae73f24977e217553edefccaf2509d866e68c030d92bea22a17b |