Skip to main content

sanae connecter

Project description

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 群员 群聊 指令说明

效果图

如果有效果图的话

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_sanae-0.0.9.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_sanae-0.0.9-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_sanae-0.0.9.tar.gz.

File metadata

  • Download URL: nonebot_plugin_sanae-0.0.9.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.6 Windows/10

File hashes

Hashes for nonebot_plugin_sanae-0.0.9.tar.gz
Algorithm Hash digest
SHA256 80a72a6aa4fa94ba58fec5aaf7263421148ff1bb9f7d5f4bb2f9a629a23ccef5
MD5 88e53234d3df73409facdedd9486f3d9
BLAKE2b-256 db1fe4e74930a33123f27229956f9d7a638e9d828841b015fef9e65ec863431a

See more details on using hashes here.

File details

Details for the file nonebot_plugin_sanae-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_sanae-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 23ab52d04ab73f7778687e0a5efa6402b9d0b7758679f131d2bbda7fe2aa19ad
MD5 c704080697310423186d105b835c8a48
BLAKE2b-256 dc09a5986621009ba3dd595c17c025fa606e8d760019d0e8be41abb1a344729f

See more details on using hashes here.

Supported by

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