nonebot_plugin_what2eat icon indicating copy to clipboard operation
nonebot_plugin_what2eat copied to clipboard

What2eat & what2drink plugin for nonebot2

Results 8 nonebot_plugin_what2eat issues
Sort by recently updated
recently updated
newest added

`dev-v0.4.0` 新的功能:今天喝什么?实现你问`今天喝什么`,Bot随机选取并回答: ``` 不如来一杯 大杯 去冰 半糖 四季玛奇朵,加波霸和椰果! ``` 当然,上述回答形式没有固定,但是我想实现的随机选取的变量有: 1. 杯型,例如:中杯、大杯; 2. 冰度,例如:少冰、去冰、常温、热; 3. 甜度(糖度),例如:全糖、半糖、无糖; 4. 饮品,这个随不同品牌菜单而选择,数据来源各品牌小程序的菜单; 5. 配料,例如波霸、珍珠等,随机选取0~3项为宜; 可以去`dev`分支查看[`drinking.json`](https://github.com/MinatoAquaCrews/nonebot_plugin_what2eat/blob/dev/nonebot_plugin_what2eat/resource/drinking.json)、[`drinking2.json`](https://github.com/MinatoAquaCrews/nonebot_plugin_what2eat/blob/dev/nonebot_plugin_what2eat/resource/drinking2.json)以及[`data_source.py`](https://github.com/MinatoAquaCrews/nonebot_plugin_what2eat/blob/dev/nonebot_plugin_what2eat/data_source.py#L319)的部分代码: ``` class DrinkingManager: ... ``` `json`文件存有诸如`一点点`、`茶颜悦色`、`蜜雪冰城`、`CoCo`的菜单信息,代码部分仅列出了选取的逻辑。目前,我仅考虑`一点点`的点单逻辑就稍显复杂了,后续`喜茶`等品牌则更复杂。问题有: 1. 部分饮品仅支持热/冷(例如冰沙🍧,但仍可选择全冰、少冰),由此带来的冰度选取逻辑的改动; 2....

help wanted
good first issue

updates: - [github.com/pycqa/isort: 5.12.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.12.0...5.13.2) - https://github.com/pre-commit/mirrors-autopep8 → https://github.com/hhatto/autopep8 - [github.com/hhatto/autopep8: v2.0.2 → v2.1.0](https://github.com/hhatto/autopep8/compare/v2.0.2...v2.1.0) - [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.6 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.6...v4.0.0-alpha.8) - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0)

updates: - [github.com/pycqa/isort: 5.12.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.12.0...5.13.2) - https://github.com/pre-commit/mirrors-autopep8 → https://github.com/hhatto/autopep8 - [github.com/hhatto/autopep8: v2.0.2 → v2.0.4](https://github.com/hhatto/autopep8/compare/v2.0.2...v2.0.4) - [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.6 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.6...v4.0.0-alpha.8) - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0)

其他命令都能正常使用,添加菜品也能添加到文件里,和基础菜品重名也会提示“已在基础菜单中”,所以文件路径应该是没问题的 ![1](https://github.com/MinatoAquaCrews/nonebot_plugin_what2eat/assets/126929115/c7da5fc5-d054-451a-b1e4-4971c4065c2e) ![2](https://github.com/MinatoAquaCrews/nonebot_plugin_what2eat/assets/126929115/0696c40a-1734-4de9-8618-643633b78ed8)

![image](https://github.com/MinatoAquaCrews/nonebot_plugin_what2eat/assets/117131527/fa2130b0-e670-4b7d-8a8a-a89bd6c2b0a0) 发了指令后台看起来是收到了,但是聊天里没有信息发送,每天的吃饭提醒还是有的,重新clone过插件也没反应。

``` 05-02 21:16:25 [WARNING] nonebot_plugin_what2eat | What2eat text resource missing! Please check! 05-02 21:16:25 [ERROR] uvicorn | Traceback (most recent call last): File "C:\Users\hakurei\AppData\Local\Programs\Python\Python310\lib\site-packages\starlette\routing.py", line 677, in lifespan async with...

![QQ截图20220825234148](https://user-images.githubusercontent.com/104612463/186709852-9dfa30df-965d-4093-8341-0394f8509f12.png) 如图,在img文件夹添加图片之后,删除菜单中其他菜测试 ![image](https://user-images.githubusercontent.com/104612463/186709948-abd258ae-e59e-40b8-b944-13f80717f02f.png) BOT无反应 日志如下 ``` 08-25 23:42:15 [SUCCESS] nonebot | ONEBOT V11 2821521344 | [message.group.normal]: Message -1918647081 from 609638635@[ 群:1006443456] "晚上吃什么" 08-25 23:42:15 [INFO] nonebot | Event will be...