📖 介绍
这里是插件的详细介绍部分
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-batitle
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-batitle
pdm
pdm add nonebot-plugin-batitle
poetry
poetry add nonebot-plugin-batitle
conda
conda install nonebot-plugin-batitle
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_batitle"]
配置项
以下配置项可在
.env.*文件中设置,具体参考 NoneBot 配置方式
batitle_generator_separator
- 类型:
str - 默认:
| - 说明:插件使用的分隔符
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| batitle (前){batitle_generator_separator}(后) | 群员 | 否 | 所有 | 使用时去掉括号 |
| ba标题 (前){batitle_generator_separator}(后) | 群员 | 否 | 所有 | 同上 |
Metadata
Release files for nonebot-plugin-batitle 0.2.1.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_batitle-0.2.1.post1.tar.gz | 8.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_batitle-0.2.1.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 MB
Release files / nonebot_plugin_batitle-0.2.1.post1.tar.gz
| Download URL | nonebot_plugin_batitle-0.2.1.post1.tar.gz |
|---|---|
| Size | 8.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3c33371a2d1a4b15d08cca9c488d8b62e3d0c24554dbc2c454d6f23e559b0e4
|
|
BLAKE2b-256 checksum How to use checksums |
435dbba02aa2983245662e99d6257c9ac9e98e99069c7b3c20881d5a2bfae5fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / nonebot_plugin_batitle-0.2.1.post1-py3-none-any.whl
| Download URL | nonebot_plugin_batitle-0.2.1.post1-py3-none-any.whl |
|---|---|
| Size | 8.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4899e8d47206d48d7f9ecac609aed0bcb308e9b205e08c9f8985fb4ecb0c643
|
|
BLAKE2b-256 checksum How to use checksums |
12a6999ac84d2cdfebfd51c34ec5ddfd1e27791ac411fd9b473ad576eab396e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|