Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
snowtafir committed Aug 28, 2024
1 parent b1fe0b4 commit c596f63
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 2.0.2
* 优化Next npm包插件 Task加载

# 2.0.1
* 规范版本号
* 调整渲染出图类型为webp格式,减小发送图片消息带宽压力
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
>```
接着修改 `yunzaijs/yunzai.config.js`,按版本选择修改方式:
Yunzai-Next v4.1.28+及以上版本:
Yunzai-Next v4.1.33+及以上版本:
```js
import { defineConfig } from 'yunzai'
export default defineConfig({
applications: ['yz-system', 'yz-yuki-plugin'], //该行添加 'yz-yuki-plugin'
middlewares: ['yz-mw-runtime', 'yunzai-mys/mw']
middlewares: ['yunzai-mys/runtime', 'yunzai-mys/message']
})
```
Expand Down Expand Up @@ -75,6 +75,12 @@ pnpm install --filter=yuki-plugin
```
## 📦插件配置
> [!IMPORTANT]
> 统一的配置文件路径:
`Yunzai/data/yuki-plugin/config/`,启动一次后,即可查看配置文件。
### 1.B站动态功能:
使用建议先绑定B站账号或配置cookie,绑定后即可使用相关功能。
Expand Down Expand Up @@ -127,11 +133,6 @@ https://m.weibo.cn/u/7643376782 # 7643376782 为崩坏星穹铁道博主uid
<details><summary>点击展开</summary>
> [!IMPORTANT]
> 统一的配置文件路径:
`Yunzai/data/yuki-plugin/config/`,启动一次后,即可查看配置文件。
> [!TIP]
> 指令前缀:`#优纪`、`#yuki`、`/优纪`、`/yuki`,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yuki-plugin",
"version": "2.0.1",
"version": "2.0.2",
"author": "snowtafir",
"description": "优纪插件,yunzai-V4 关于 微博推送、B站推送 等功能的拓展插件",
"main": "./index",
Expand Down

0 comments on commit c596f63

Please sign in to comment.