forked from maubot/reactbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase-config.yaml
114 lines (110 loc) · 3.48 KB
/
base-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
templates:
text_reaction:
type: m.reaction
variables:
react_to_event: '{{event.event_id}}'
content:
m.relates_to:
rel_type: m.annotation
event_id: $${react_to_event}
key: $${reaction}
default_flags:
- ignorecase
antispam:
room:
max: 60
delay: 60
# max: 在指定的时间间隔(由 delay 定义)内,允许每个用户发送的最大消息数量。
# delay: 时间间隔,单位为秒。在这个时间间隔内,用户发送的消息数量不能超过 max 值。
user:
max: 30
delay: 60
rules:
like_button:
users: ['@know:meiu.xyz', '@aibot1:meiu.xyz', '@aibot2:meiu.xyz', '@aibot3:meiu.xyz']
not_rooms: ["!erVdKitClvcjVzMjUw:meiu.xyz"]
only_text: true
matches: [.*]
template: text_reaction
variables:
reaction: 👍点赞
to_aishow:
users: ['@know:meiu.xyz', '@aibot1:meiu.xyz', '@aibot2:meiu.xyz', '@aibot3:meiu.xyz']
not_rooms: ["!erVdKitClvcjVzMjUw:meiu.xyz"]
only_text: true
matches: [.*]
template: text_reaction
variables:
reaction: 🤖转发
collect_button:
users: ['@know:meiu.xyz', '@aibot1:meiu.xyz', '@aibot2:meiu.xyz', '@aibot3:meiu.xyz']
not_rooms: ["!erVdKitClvcjVzMjUw:meiu.xyz"]
only_text: true
matches: [.*]
template: text_reaction
variables:
reaction: ❤️收藏
voice_button:
users: ['@know:meiu.xyz', '@aibot1:meiu.xyz', '@aibot2:meiu.xyz', '@aibot3:meiu.xyz']
not_rooms: ["!erVdKitClvcjVzMjUw:meiu.xyz"]
only_text: true
matches: [.*]
template: text_reaction
variables:
reaction: 🎤语音
rewrite_button:
users: ['@know:meiu.xyz', '@aibot1:meiu.xyz', '@aibot2:meiu.xyz', '@aibot3:meiu.xyz']
not_rooms: ["!erVdKitClvcjVzMjUw:meiu.xyz"]
only_text: true
matches: [.*]
template: text_reaction
variables:
reaction: ♻️重制
rag_button:
users: ['@know:meiu.xyz', '@aibot1:meiu.xyz', '@aibot2:meiu.xyz', '@aibot3:meiu.xyz']
not_rooms: ["!erVdKitClvcjVzMjUw:meiu.xyz"]
only_text: true
matches: [.*]
template: text_reaction
variables:
reaction: 🌾采集
todo_idea:
users: ['@ming:meiu.xyz']
rooms: ['!WtMywSEpJiIxLlYxzZ:meiu.xyz']
not_thread: true
matches: [.*]
template: text_reaction
variables:
reaction: 💡想法
todo_plan:
users: ['@ming:meiu.xyz']
rooms: ['!WtMywSEpJiIxLlYxzZ:meiu.xyz']
not_thread: true
matches: [.*]
template: text_reaction
variables:
reaction: 📝计划
todo_doing:
users: ['@ming:meiu.xyz']
rooms: ['!WtMywSEpJiIxLlYxzZ:meiu.xyz']
not_thread: true
matches: [.*]
template: text_reaction
variables:
reaction: ⏳进行
todo_achieve:
users: ['@ming:meiu.xyz']
rooms: ['!WtMywSEpJiIxLlYxzZ:meiu.xyz']
not_thread: true
matches: [.*]
template: text_reaction
variables:
reaction: ✅完成
todo_pause:
users: ['@ming:meiu.xyz']
rooms: ['!WtMywSEpJiIxLlYxzZ:meiu.xyz']
not_thread: true
matches: [.*]
template: text_reaction
variables:
reaction: 💤搁置