Skip to main content
NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-sanae

✨ 插件描述 ✨

license pypi python

这是一个 nonebot2 插件, 你可以直接使用本插件在plugin层连接ob11应用端

插件使用方法: 1.插件运行成功后会生成ini配置,在配置内设置ws地址和端口,暂时只支持ws连接 2. 插件连接成功后会有日志

📖 介绍

方便在nb内连接早苗, 也可用于nb连接另一个nb(待测试) 或许可用于nb连接koishi 也可用于连接其他#符合ob11标准的bot 实现机器人套娃,最初级的分布式机器人(一个应用端放一些插件,然后多个nb,公网ip,然后用插件互联)

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-sanae
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-sanae
pdm
pdm add nonebot-plugin-sanae
poetry
poetry add nonebot-plugin-sanae
conda
conda install nonebot-plugin-sanae

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_sanae"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
sanae_ws 配置说明
Sanae_port 配置说明

🎉 使用

指令表

指令 权限 需要@ 范围 说明
指令1 主人 私聊 指令说明
指令2 群员 群聊 指令说明

效果图

如果有效果图的话

Release files for nonebot-plugin-sanae 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-sanae 0.0.9
File Size Uploaded
nonebot_plugin_sanae-0.0.9.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-sanae 0.0.9
File Interpreter ABI Platform
nonebot_plugin_sanae-0.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / nonebot_plugin_sanae-0.0.9.tar.gz

Download URL nonebot_plugin_sanae-0.0.9.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
80a72a6aa4fa94ba58fec5aaf7263421148ff1bb9f7d5f4bb2f9a629a23ccef5
BLAKE2b-256 checksum
How to use checksums
db1fe4e74930a33123f27229956f9d7a638e9d828841b015fef9e65ec863431a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.10.6 Windows/10

Release files / nonebot_plugin_sanae-0.0.9-py3-none-any.whl

Download URL nonebot_plugin_sanae-0.0.9-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23ab52d04ab73f7778687e0a5efa6402b9d0b7758679f131d2bbda7fe2aa19ad
BLAKE2b-256 checksum
How to use checksums
dc09a5986621009ba3dd595c17c025fa606e8d760019d0e8be41abb1a344729f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.10.6 Windows/10

Release history Release notifications | RSS feed

This release

0.0.9 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page