Skip to content

Commit b177b5d

Browse files
committed
update example config of command filter
1 parent d67622f commit b177b5d

File tree

1 file changed

+24
-13
lines changed

1 file changed

+24
-13
lines changed

examples/rules.example.yaml

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
1-
- field: title_or_content # title/content/title_or_content
2-
type: include_any # include_any/include_all/exclude
3-
rules:
4-
- 权威认证
5-
- 值得拥有
6-
- 潮牌
7-
- 新款
8-
- 求助
9-
- 招聘
10-
- 免费版
11-
- 包邮
12-
- 天猫
13-
- 淘宝
1+
- name: test
2+
folders:
3+
- inbox
4+
fields: ["title", "content"]
5+
filter:
6+
type: include_any # include_any/include_all/exclude
7+
rules:
8+
- 权威认证
9+
- 值得拥有
10+
- 潮牌
11+
- 新款
12+
- 求助
13+
- 招聘
14+
- 免费版
15+
- 包邮
16+
- 天猫
17+
- 淘宝
18+
actions:
19+
- type: mark_as_read
20+
- type: tag
21+
tags: tag1,tag2,tag3
22+
- type: like
23+
- type: star
24+
- type: broadcast

0 commit comments

Comments
 (0)