forked from crazypeace/keyword_alert_bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml.default
46 lines (36 loc) · 1.37 KB
/
config.yml.default
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
#账户配置描述信息
# Config BOT and account
account:
# Account to monitor channel information
api_id : '1400003'
api_hash : 'd11xxxxx112a7e059e831'
phone : '+86190000010'
username : 'cliasaxxxev'
# bot token
bot_token : '1000007:AAHNh8axxxxxxxxxxxxxxxxHA'
bot_username : 'keyxxxxxrt_bot'
# LOG
logger:
path: null # /root/absolute-path/ default null: _current_path
level: INFO # FATAL,ERROR,WARN,INFO,DEBUG,NOTSET
# proxy
proxy:
type: SOCKS5 # e.g. SOCKS4, SOCKS5, HTTP
address: null # e.g. 127.0.0.1
port: null # e.g. 1088
# Automatically leave groups/channels (for groups/channels without valid subscription records)
auto_leave_channel: false
# Message deduplication rules
# SUBSCRIBE_ID: Default rule: Deduplication according to subscription
# MESSAGE_ID: Deduplicate by message ID (if the message hits multiple subscriptions at the same time, only the first subscription reminder will be returned)
msg_unique_rule: SUBSCRIBE_ID # default SUBSCRIBE_ID
# non-public services
# This bot only serves specified users
private_service: false
authorized_users:
- 123456789
- 987654321
# Disable listening to messages sent by bots (groups only)
# For example, some groups have automatic reply robots that reply to repeated messages; or some advertising robots start to swipe the screen after joining the group.
block_bot_msg: false # default allow