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.7.tar.gz (4.7 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.7-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_sanae-0.0.7.tar.gz
  • Upload date:
  • Size: 4.7 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.7.tar.gz
Algorithm Hash digest
SHA256 1808648af0f14ebf0da9d91066b0242b10cfbe5aee29f36e18e1f905c4560258
MD5 c5fa7c0943ab0a2bc252d022cc3ffc50
BLAKE2b-256 62ec57c768a3835a567b18950924c8218a9e2f2aea3534b3bbfec871f5beb518

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_sanae-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ad75bcb38053b5854d31630f28bca14b656dbdc8755064558081a935a557d3ad
MD5 b2e83fa68fbae22937bb4c4e985aeab2
BLAKE2b-256 66673914be65bdd276198b97f92a675c5d4fa7f64512a53467fd1babf607a31b

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