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.8.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.8-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_sanae-0.0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 28c3f134e0b67e8cd8993fd58dc201093715e0b4bb642ca4d19644a102f8944d
MD5 dde7a0e03272337a29d99e3eea5d0a5b
BLAKE2b-256 1a3a4ac39a0f3c7df09f3f88b0d1ce8a696e799528976d074ed98a689582061a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_sanae-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 3e1cc439aaa164b56fcb2431d52ac5f2d760d34f4788d29d02547d8772f9ed7b
MD5 d96877e35cdf836d321038e71bd97434
BLAKE2b-256 af63235fd4e3bb7e3b0117ccb99edf8bc42ddc2bed496827c47d13e9cf7e54d9

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