Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HowToCook function Integration #650

Merged
merged 10 commits into from
Apr 6, 2023
Merged

HowToCook function Integration #650

merged 10 commits into from
Apr 6, 2023

Conversation

sunist-c
Copy link
Member

@sunist-c sunist-c commented Apr 2, 2023

这个PR新增了一个插件:

程序员做饭指南(Anduin2017/HowToCook)集成

  1. 目前采用力大砖飞的手解markdown版本,如果菜谱作者不讲武德不按照原项目规范写作,最后的效果就会很炸裂
  2. 没有加入数据同步机制,需要手动将Anduin2017/HowToCook仓库克隆:
git clone https://github.com/Anduin2017/HowToCook /path/to/data/Dish

增加了「随机菜谱」和「怎么做XXX」两个指令

Copy link
Member

@fumiama fumiama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. 目前采用力大砖飞的手解markdown版本,如果菜谱作者不讲武德不按照原项目规范写作,最后的效果就会很炸裂

使用数据库,上传到zbpdata。至于md,我建议原样输出。或者你可以找一个渲染md的API。

  1. 没有加入数据同步机制,需要手动将Anduin2017/HowToCook仓库克隆

上传到zbpdata并将GetLazyData的第二个参数设置为true,即可畅享同步功能。

@sunist-c sunist-c changed the title integration HowToCook function HowToCook function Integration Apr 2, 2023
@sunist-c
Copy link
Member Author

sunist-c commented Apr 2, 2023

已修改,但zbpdata还未同步

Copy link
Member

@fumiama fumiama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你可以向zbpdata PR这个db,就可以看见效果了。

plugin/dish/dish.go Outdated Show resolved Hide resolved
plugin/dish/dish.go Show resolved Hide resolved
plugin/dish/dish.go Outdated Show resolved Hide resolved
Copy link
Member

@fumiama fumiama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你zbpdata呢,没见你PR啊,位置在这里 https://github.com/FloatTech/zbpdata

plugin/dish/dish.go Outdated Show resolved Hide resolved
plugin/dish/dish.go Outdated Show resolved Hide resolved
@sunist-c
Copy link
Member Author

sunist-c commented Apr 5, 2023

已提交PR

plugin/dish/dish.go Outdated Show resolved Hide resolved
plugin/dish/dish.go Outdated Show resolved Hide resolved
plugin/dish/dish.go Outdated Show resolved Hide resolved
plugin/dish/dish.go Outdated Show resolved Hide resolved
plugin/dish/dish.go Outdated Show resolved Hide resolved
plugin/dish/dish.go Outdated Show resolved Hide resolved
plugin/dish/dish.go Show resolved Hide resolved
@sunist-c
Copy link
Member Author

sunist-c commented Apr 6, 2023

已按change request修改

Copy link
Member

@fumiama fumiama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以了。请一并添加README.md与main.go。注意README中的位置要与main.go一致。

@sunist-c
Copy link
Member Author

sunist-c commented Apr 6, 2023

已为dish插件更新readme和main.go

@fumiama fumiama merged commit e8b61b3 into FloatTech:master Apr 6, 2023
wearzdk added a commit to wearzdk/lz-zero-bot that referenced this pull request May 26, 2023
* 抖动文字 (FloatTech#647)

* 🎨 改进代码样式 (FloatTech#648)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* font增加更多字体

* 🔖 v1.7.1-beta1

* 提高the触发概率

* add: score new style (FloatTech#655)

* newstyle

* make lint happy

* HowToCook function Integration (FloatTech#650)

* 🎨 改进代码样式 (FloatTech#657)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* remove 拟声鸟, add TTSCN

* fix help

* fix extra

* 百度tts自行指定 id&secret

* 🔖 v1.7.1-beta2

* ✨ add 插件冲突避免

* fix 设置语音模式

* fix 设置语音模式

* 🐛 fix ca

* 🐛 fix ca

* 🐛 fix ca

* 🐛 fix ca

* 🎨 优化触发权限

* 🐛 fix ca

* fix dish.go (FloatTech#661)

* db cache time to time.Hour

* update deps

* remove ca

* Update shindan.go (FloatTech#662)

* wfapi 锁问题修复,设置TLS请求为1.2 (FloatTech#663)

Co-authored-by: GenesisAN <501946815@qq.com>

* update deps

* fix 权重查询 (FloatTech#666)

* ✨ 添加据意查句 (FloatTech#660)

* ♿️ gif改为使用base64发送 (FloatTech#664)

* 🎨 改进代码样式 (FloatTech#669)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* add 维基百科 (FloatTech#673)

* add 维基百科

* make happy

* 🔖 v1.7.1-beta3

* thesarus add 🦙

* 优化

* 优化

* remove 🦙 reply

* 🦙请求改POST

* fix

* update wife

* 🔖 v1.7.1

* 🐛 fix control cache

* 🐛 fix control cache

---------

Co-authored-by: 莲宝坏坏坏 <2758988938@qq.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
Co-authored-by: Jiang-Red <79574799+Jiang-Red@users.noreply.github.com>
Co-authored-by: Sunist <46150583+sunist-c@users.noreply.github.com>
Co-authored-by: 苜蓿紫 <68104673+medicago087@users.noreply.github.com>
Co-authored-by: weigui404 <74092436+weigui404@users.noreply.github.com>
Co-authored-by: GenesisAN <Genesis_AN@outlook.com>
Co-authored-by: GenesisAN <501946815@qq.com>
Co-authored-by: himawari <54976075+guohuiyuan@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants