Skip to main content

基于Nonebot2的今天吃什么(离线版)

Project description

NoneBotPluginLogo

nonebot-plugin-whateat-pic

⭐基于Nonebot2的一款今天吃什么喝什么的插件⭐

⭐ 介绍

一款离线版决定今天吃喝什么的nb2插件,功能及其简单。 抄袭改编自hosinoBot的插件今天吃什么 有不足的地方还请指出

或者你有啥关于该插件的新想法的,可以提issue或者pr (>A<)

💿 安装

安装

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⭐---

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_whateat_pic-1.5.7.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_whateat_pic-1.5.7-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_whateat_pic-1.5.7.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_whateat_pic-1.5.7.tar.gz
Algorithm Hash digest
SHA256 c779307f6b4859c120842300ad23906cf9871a25a4d65e91171fab5be6e2c872
MD5 85bd9923f9f00e1d68ecb2f2c09cddbd
BLAKE2b-256 4a9e9cbb2bb5b5df62bba157252ce55576b48f4d5debec44b0d843e96af2c28e

See more details on using hashes here.

File details

Details for the file nonebot_plugin_whateat_pic-1.5.7-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_whateat_pic-1.5.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3ad1a91e5ff65f302e4b057b7bf61c907a99987c9777402b506ba6b1a2ca9fc7
MD5 cc226039ca309f8545300c3b7d16fce7
BLAKE2b-256 0c6ebbe22209b14700f78e4ff8ad628fca41d8da26d33405985a859b6ccde995

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page