📖 介绍
这里是插件的详细介绍部分
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-message-snapper-core --upgrade
使用 pypi 源安装
nb plugin install nonebot-plugin-message-snapper-core --upgrade -i "https://pypi.org/simple"
使用清华源安装
nb plugin install nonebot-plugin-message-snapper-core --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令uv
uv add nonebot-plugin-message-snapper-core
安装仓库 master 分支
uv add git+https://github.com/Xwei1645/nonebot-plugin-message-snapper-core@master
pdm
pdm add nonebot-plugin-message-snapper-core
安装仓库 master 分支
pdm add git+https://github.com/Xwei1645/nonebot-plugin-message-snapper-core@master
poetry
poetry add nonebot-plugin-message-snapper-core
安装仓库 master 分支
poetry add git+https://github.com/Xwei1645/nonebot-plugin-message-snapper-core@master
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_message_snapper_core"]
使用 nbr 安装(使用 uv 管理依赖可用)
nbr 是一个基于 uv 的 nb-cli,可以方便地管理 nonebot2
nbr plugin install nonebot-plugin-message-snapper-core
使用 pypi 源安装
nbr plugin install nonebot-plugin-message-snapper-core -i "https://pypi.org/simple"
使用清华源安装
nbr plugin install nonebot-plugin-message-snapper-core -i "https://pypi.tuna.tsinghua.edu.cn/simple"
⚙️ 配置
在 nonebot2 项目的.env文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| 配置项1 | 是 | 无 | 配置说明 |
| 配置项2 | 否 | 无 | 配置说明 |
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 指令1 | 主人 | 否 | 私聊 | 指令说明 |
| 指令2 | 群员 | 是 | 群聊 | 指令说明 |
🎨 效果图
如果有效果图的话
Metadata
Release files for nonebot-plugin-message-snapper-core 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nonebot_plugin_message_snapper_core-0.2.0.tar.gz | 8.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_message_snapper_core-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.5 kB
Release files / nonebot_plugin_message_snapper_core-0.2.0.tar.gz
| Download URL | nonebot_plugin_message_snapper_core-0.2.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13d245ad156153f5118c2e57a8ed42a54cb8f8054654d98cf17501395e11a7c4
|
|
BLAKE2b-256 checksum How to use checksums |
603f223bd33e51d416477f20064123baeec9ea38ab79224ea7e9840b62344696
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","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_message_snapper_core-0.2.0-py3-none-any.whl
| Download URL | nonebot_plugin_message_snapper_core-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b98e92749fc8cc4ba518d351f24b225a312439d1f71eaed0613f282921cfecd
|
|
BLAKE2b-256 checksum How to use checksums |
e1665572b6048d307666886dd92990abd453effea43abce6d8cf26452d0b29c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","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}
|
Security for nonebot-plugin-message-snapper-core 0.2.0
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.