-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
26 lines (26 loc) · 1.02 KB
/
config.yaml.example
File metadata and controls
26 lines (26 loc) · 1.02 KB
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
token: "1234567890:AAAAAAA..." # telegram bot token
to_chat: -100 # the chat forward to
listen_chat: -100 # the working chat
admin_chat: -100 # the chat that admin receive nofication
master_channel: -100 # the channel that user must subscripted to join the group
watch_list: [0] # the people allowed to automatic forward
forward_pattern: "(?:等我长大以后|^(?=.{5,}(?<!~)$)(?!.*(屎公仔|屎娃娃|小屎屎|屎官)).*(屎|💩))"
# text.contains("等我长大以后")
# || (text.chars().nth(5).is_some() // len > 5
# && (text.contains('屎') || text.contains('💩'))
# && !(text.contains("屎公仔")
# || text.contains("屎娃娃")
# || text.contains("小屎屎")
# || text.contains("屎官"))
# && !text.ends_with('~'))
questions:
- title: 二加二等于几
contrary: 二加二不等于几 # optional
correct: # show excetly one of them
- 四
- 4
wrong:
- e^(pi*i)
- cos(0)
- 五
- 0