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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_sanae-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 168e6a8a2045d4075b33c1f2ba8f56c9f44081d0db2eac61cf0228cb820d66c2
MD5 2566894650d600e9e7aedbdd09b724fd
BLAKE2b-256 8682ec35939d1d52000c1aebb86970546aa60401bc49d55c319ae27a3bc6a9d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_sanae-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 440002375fe964e09b440f5fd36feb26202b5b54f3fbeece22f0723e93a65423
MD5 831f734ee7362ee7890ca0bbd41689a6
BLAKE2b-256 ed7533e710f379ef5c209fa8ef0ac68dacb5bab399afd90e7959921180e1cd0f

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