Add package-lock.json and yarn.lock into .gitignore, delete the uploaded package-lock.json. package-lock.json should not be uploaded.
Move all image resources to /img. And change the image links in README.md to /main/img/XXX.png (算了还是用中文吧, Merge 前无法显示是因为链接指向的是 HydroGest / YesImBot, 不是 fork 后的仓库) .
Changes
package-lock.json
andyarn.lock
into.gitignore
, delete the uploadedpackage-lock.json
.package-lock.json
should not be uploaded./img
. And change the image links inREADME.md
to/main/img/XXX.png
(算了还是用中文吧, Merge 前无法显示是因为链接指向的是 HydroGest / YesImBot, 不是 fork 后的仓库) .README.md
、package.json
与index.ts
的Config
中一些不必要的句号README
中的一些表述, 同时添加了一些强调标index.ts
里的部分逻辑, 将处理用户消息的代码整合到processUserContent
中console
都改为ctx.logger
的形式, 并添加相关判断BaseAPI
改为BaseURL