This repository has been archived by the owner on Nov 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
tmesca.example.yml
67 lines (67 loc) · 1.72 KB
/
tmesca.example.yml
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
# | in types means or. For example a | b means
# "field should contains 'a' or 'b'"
# Most of the fields can be omitted; in this
# case, they will be asked each time the script
# is run. If silent mode choosen, script probably
# fails to run in this case.
generator:
# linear | random
type: random
# number >= 5
link_length: 5
# boolean (yes/no)
# restore_sessions: yes
# boolean (yes/no), omitted means yes
# save_sessions: no
parser:
# soup | lighting
type: lighting
# full | link
info: link
# Note: if field is a string, it will be
# interpreted as array with one element.
# But 'all' is a special case, it will
# be interpreted like array of all possible
# answers.
# all | string | array of string
filter:
- users
- groups
- channels
- bots
- stickers
# Note: like filter, if field is a string,
# it will be interpreted like array with one
# element. Unlike filter, there is no special
# case, but you can omit it for some
# string | array of string
# bot_suffix:
# - _bot
# - bot
# Note: works exatly as bot_suffix, except added
# BEFORE bot suffix. Also dont forget to add
# empty suffix.
# string | array of string
# custom_suffix: "_by_rudalle_emojich_bot"
# string | array of string
# custom_prefix:
# - rabota
# - rabota_
# Delay between requests in seconds
# number, defaults to 0
# slow_mode: 0
output:
# telegram | console | none
type: console
# Note: basic means logging only finds
# everything | basic
filter: basic
# Note: refer to the README for explanation
# the next two fields
# string
# bot_token: ENTER TOKEN
# number
# user_id: ENTER USER ID
misc:
# boolean (yes/no), defaults to no
# single_thread: yes