⭐ 介绍
一款离线版决定今天吃喝什么的nb2插件,功能及其简单。
抄袭改编自hosinoBot的插件今天吃什么
有不足的地方还请指出
💿 安装
安装
pip 安装
pip install nonebot-plugin-whateat-pic
nb-cli安装
nb plugin install nonebot-plugin-whateat-pic --upgrade
注意
由于包含有图片,包容量较大,推荐镜像站下载
清华源https://pypi.tuna.tsinghua.edu.cn/simple
阿里源https://mirrors.aliyun.com/pypi/simple/
⚙️ 配置
在env.中添加以下配置
| 名称 | 类型 | 默认值 | 范围 | 说明 |
|---|---|---|---|---|
| whateat_cd | int | 10 | 0-9999 | 内置触发cd |
| whateat_max | int | 0 | 0-9999 | 每日用户触发的最大次数,默认0时为无上限 |
机器的名字“脑积水”是默认值,(我不相信有人不会配置nonebot2的nick_name)
⭐ 使用
指令:
| 指令 | 需要@ | 范围 | 说明 | 权限 |
|---|---|---|---|---|
| 今天早上吃什么 | 否 | 私聊、群聊 | 随机发送食物 | 任何 |
| 今天早上喝什么 | 否 | 私聊、群聊 | 随机发送饮品 | 任何 |
| 查看全部菜单 | 否 | 私聊、群聊 | 查看全部菜单 | 任何 |
| 查看菜单 | 否 | 私聊、群聊 | 查看指定菜单 | 任何 |
| 添加菜单 | 否 | 私聊、群聊 | 自定义添加菜单 | 群主,超管,管理员 |
| 删除菜单 | 否 | 私聊、群聊 | 自定义删除菜单 | 群主,超管,管理员 |
注意
默认情况下, 您应该在指令前加上命令前缀, 通常是 /
🌙 未来
- 或许添加更多的美食图片吧……
- 添加更多功能
- 自定义添加菜单,饮品(
我懒,或者帮我写个?)QwQ(最后还是自己写) - 图片化
全部菜单 - 细化分类菜单,饮料(懒癌患者,>a<)
--- 喜欢记得点个star⭐---
Metadata
Release files for nonebot-plugin-whateat-pic 1.5.10
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_whateat_pic-1.5.10.tar.gz | 2.3 MB | Without provenance | Details for nonebot_plugin_whateat_pic-1.5.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_whateat_pic-1.5.10-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_whateat_pic-1.5.10-py3-none-any.whl |
Total release size: 4.7 MB
Release files / nonebot_plugin_whateat_pic-1.5.10.tar.gz
| Download URL | nonebot_plugin_whateat_pic-1.5.10.tar.gz |
|---|---|
| Size | 2.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0486471332018dbc1e6c85d5815788e04c55b2eee7330e84672dae0b16d47f7
|
|
BLAKE2b-256 checksum How to use checksums |
d12e3feb122d57b34103ff8a7e01013c6d0a8529c3c3a1b4a4b2d259ae70b1a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / nonebot_plugin_whateat_pic-1.5.10-py3-none-any.whl
| Download URL | nonebot_plugin_whateat_pic-1.5.10-py3-none-any.whl |
|---|---|
| Size | 2.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc6126bc655bd3c925bae81460dccabb91336d65b9a0531a6bd4034c83f961bb
|
|
BLAKE2b-256 checksum How to use checksums |
de71bb79249fd2ef8992656f6d8057dbab7cbf585b0f6aa396da35b0c48a4cdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for nonebot-plugin-whateat-pic 1.5.10
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.