-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsample_config.toml
49 lines (39 loc) · 1.07 KB
/
sample_config.toml
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
[telegram]
# Get thais value from https://my.telegram.org/apps
API_ID=12345
API_HASH=""
[bot]
# Bot token generated from https://t.me/botfather
BOT_TOKEN=""
# Custom command prefixes
PREFIX=['$', '/']
# Your telegram user id
# You won't be able to trigger sudo's command if this vars is blank
OWNER=12345
# Leave this blank if you are using docker-compose
# Or if you want to use the mongodb atlas, you need to modify file `docker-compose.yml`.
# Mongodb url from https://cloud.mongodb.com/
DATABASE_URL=""
# Bot log channel
# Also Known as the message dump
# Fill with channel id or channel username
LOG_CHAT=""
# Number of maximum worker for handling incoming updates.
WORKERS=6
[backup]
ENABLE=false
BACKUP_CHAT=-10012345
ENABLE_ENCRYPTION=false
# PyNACL Public Key
NACL_PUBLIC_KEY=""
[blacklist]
# wether to use ocr in blacklist text
USE_OCR=false
[captcha]
# Cloudflare turnstile workers url
# https://github.com/Mayuri-Chan/turnstile-workers
TURNSTILE_URL = "https://appname.username.workers.dev"
[sticker]
# Log channel for dumping sticker
# for kang command
LOG_STICKER=""