-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.yaml
41 lines (41 loc) · 1.15 KB
/
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
%YAML 1.1
---
# You can override all these settings the following file (for easier version control)
user_config: user_config.yaml
telegram:
token: # REQUIRED! obtain from @BotFather (https://telegram.me/BotFather)
admin: [] # List of Telegram IDs that are allowed to use admin commands
timeout: 60
username_for_help: '@fichtefoll' # Will be displayed in case of errors and in help message
imgur:
client_id: # REQUIRED! obtain https://api.imgur.com/oauth2/addclient
client_secret: # REQUIRED!
refresh_token: # REQUIRED! obtain via authenticate_imgur.py
album:
timestamp_format:
storage:
directory: $temp/codetalkirc # $temp variable is available, relative paths are valid
delete_images: false
database: images.db
user_database: users.json
irc:
host: # REQUIRED!
port: 6667 # REQUIRED!
ssl: false
nick: # REQUIRED!
password:
channel: '' # REQUIRED!
timeout: 7
auth_timeout: 5:00
logging:
active: true
path: log
level: INFO
rotate:
# options for log rotating
# dict is forwarded to `logging.handlers.TimedRotatingFileHandler` as-is
when: midnight
interval: 1
backupCount: 0
encoding: utf-8
...