Skip to main content
NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-bot-tap

✨ 在 NoneBot 中管理你的 NoneBot 吧! ✨

license pypi python

📖 介绍

基于 NoneBot Agent的 NoneBot 插件,用于管理 NoneBot 机器人。

💿 安装

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

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

plugins = ["nonebot_plugin_bot_tap"]

⚙️ 配置

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

配置项 必填 类型 默认值 说明
bot_tap_token 是 str None 连接到Agent端的token
bot_tap_admin 是 list [] 权限组
bot_tap_host 否 str http://127.0.0.1 连接到Agent端的主机地址
bot_tap_port 否 int 2519 连接到Agent端的端口
bot_tap_font_path 否 str 自带的Microsoft_YaHei_Consolas_Regular.ttf 字体文件路径
bot_tap_font_size 否 int 18 字体大小

使用前请先配置好 Agent 端

点这里查看配置方法,配置完成后可手动创建文件进行导入,也可以通过部署 NoneBot WebUI 后快速导入,或者使用插件命令进行导入。

如果你想通过手动创建文件导入,请按照以下格式创建文件:

{
    "name":"Bot名称",
    "path":"Bot路径(Windows请使用双反斜杠)",
    "time":"2025年1月5日12时34分32秒",
    "id":"uuid",
    "isRunning":false,
    "pid":"Null"
}

并将其保存在 Agent 端的 bots 文件夹下,文件名为 uuid.json,其中 uuid 为你为 Bot 设置的 uuid。

🎉 使用

/bot help 查看帮助

📑 支持的功能

  • Bot 列表
  • Bot 基本信息
  • Bot 启动/停止
  • Bot 日志
  • Bot 导入
  • 版本信息
  • 插件启用/禁用
  • 插件安装
  • 插件卸载
  • 插件列表
  • 适配器安装
  • 驱动器安装
  • nbcli 本体管理

Metadata

Release files for nonebot-plugin-bot-tap 0.0.4

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-bot-tap 0.0.4
File Size Uploaded Provenance
nonebot_plugin_bot_tap-0.0.4.tar.gz 12.4 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-bot-tap 0.0.4
File Interpreter ABI Platform
nonebot_plugin_bot_tap-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 24.8 MB

Release files / nonebot_plugin_bot_tap-0.0.4.tar.gz

Download URL nonebot_plugin_bot_tap-0.0.4.tar.gz
Size 12.4 MB
Tags Source
SHA-256 checksum
How to use checksums
eef7db0aa00cc99333500eaeca7f98f9e5727c76bfc83141abb125ad0f1779e2
BLAKE2b-256 checksum
How to use checksums
05ed2141642c983cc81695fca6de6fc799ed4c1f9195ca23c5181519752ed3a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / nonebot_plugin_bot_tap-0.0.4-py3-none-any.whl

Download URL nonebot_plugin_bot_tap-0.0.4-py3-none-any.whl
Size 12.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0cffce3acb779c6972d6943cb60a40003358ce2dc8921179b4c4eccc68d9f5cb
BLAKE2b-256 checksum
How to use checksums
3fe008ac0e1b2eb22386ce3d0fb797580853e4af8d42fd9b6e465e4452f95dea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Security for nonebot-plugin-bot-tap 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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