基于NoneBot2进行适配的兽云随机毛图插件
📖 介绍
兽云祭官方插件太复杂?功能太杂?看不懂?不兼容?损坏文件结构?
本插件使用官方API进行编写,无需令牌,无需Token,即可使用随机毛图功能
在开始前请先点一个免费的star吧谢谢啦~
买家秀
💿 安装
使用 nb-cli 安装(推荐)
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-RanFurryPic
使用PIP安装
在 nonebot2 项目的插件目录下, 打开命令行, 输入安装命令pip install nonebot-plugin-RanFurryPic
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_RanFurryPic"]
⚙️ 配置
ranfurrypic_msg = ""
# 必填
# 类型:str
# 默认值:好的嗷呜~\n毛毛名称:[NAME]\n留言:[SUGGEST]\n图片UID:[PICID]
# 换行请使用你的适配器的换行符(默认为\n)
# 其中[NAME]、[SUGGEST]和[PICID]为占位符,分别代表名称、留言和图片ID
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 来只毛 | 群员 | 否 | 群聊 | 随机毛图 |
| furry | 群员 | 否 | 群聊 | 随机毛图 |
| 毛毛 | 群员 | 否 | 群聊 | 随机毛图 |
TODO LIST
待解决问题:
- 使用httpx发送请求,避免线程堵塞(后期:艹这里让星火帮我改一次就过审核了讯飞nb!)
- 适配其他平台发送消息
- 自定义消息发送结果(指在
.env中修改 - 添加搜毛功能
- 缓存随机图片以达到快速发送
Metadata
Release files for nonebot-plugin-RanFurryPic 1.1.9
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 | Actions |
|---|---|---|---|---|
| nonebot_plugin_ranfurrypic-1.1.9.tar.gz | 4.8 kB | Without provenance | Details for nonebot_plugin_ranfurrypic-1.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_RanFurryPic-1.1.9-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_RanFurryPic-1.1.9-py3-none-any.whl |
Total release size: 10.3 kB
Release files / nonebot_plugin_ranfurrypic-1.1.9.tar.gz
| Download URL | nonebot_plugin_ranfurrypic-1.1.9.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e8c00cc0b8a9d32febc7afef07f8bb4c6fc2b634a17f3398217620e9f96a2ab
|
|
BLAKE2b-256 checksum How to use checksums |
873d4ea301ffd86d3cb5a14ea4971837240627e001dd8b3e5ac54d41755f2f59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / nonebot_plugin_RanFurryPic-1.1.9-py3-none-any.whl
| Download URL | nonebot_plugin_RanFurryPic-1.1.9-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9cde53a6931d5d6fb8e863955eb74bc2ea7bc59657876e61de5067c68d365c21
|
|
BLAKE2b-256 checksum How to use checksums |
c0a067a403e1ca15b98a0c9089ce2c0083340f7a68824c703f7c0ac47b725db0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for nonebot-plugin-RanFurryPic 1.1.9
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.