2020-02-19 15:31:39 +00:00
|
|
|
# ===================================================================
|
|
|
|
# __________ _____ .__ .___
|
|
|
|
# \______ \_____ ____ ___________ / \ _____ |__| __| _/
|
|
|
|
# | ___/\__ \ / ___\_/ __ \_ __ \/ \ / \\__ \ | |/ __ |
|
|
|
|
# | | / __ \_/ /_/ > ___/| | \/ Y \/ __ \| / /_/ |
|
|
|
|
# |____| (____ /\___ / \___ >__| \____|__ (____ /__\____ |
|
|
|
|
# \//_____/ \/ \/ \/ \/
|
|
|
|
# ===================================================================
|
|
|
|
|
2021-08-18 08:41:22 +00:00
|
|
|
# API Credentials of your telegram application created at https://my.telegram.org/apps | api_key is api_id
|
|
|
|
api_key: "ID_HERE"
|
2020-04-01 13:58:06 +00:00
|
|
|
api_hash: "HASH_HERE"
|
2020-02-19 15:31:39 +00:00
|
|
|
|
|
|
|
# Either debug logging is enabled or not
|
|
|
|
debug: "False"
|
|
|
|
error_report: "True"
|
|
|
|
|
|
|
|
# Admin interface related
|
|
|
|
web_interface:
|
|
|
|
enable: "False"
|
|
|
|
secret_key: "RANDOM_STRING_HERE"
|
|
|
|
host: "127.0.0.1"
|
|
|
|
port: "3333"
|
|
|
|
|
|
|
|
# Redis connection information
|
|
|
|
redis:
|
|
|
|
host: "localhost"
|
|
|
|
port: "6379"
|
|
|
|
db: "14"
|
2022-01-22 12:55:47 +00:00
|
|
|
password: ""
|
2020-02-19 15:31:39 +00:00
|
|
|
|
|
|
|
# Locale settings
|
2020-04-01 13:58:06 +00:00
|
|
|
application_language: "zh-cn"
|
|
|
|
application_region: "China"
|
2021-08-18 08:41:22 +00:00
|
|
|
application_tts: "zh-CN"
|
2020-02-19 15:31:39 +00:00
|
|
|
|
|
|
|
# In-Chat logging settings, default settings logs directly into Kat, strongly advised to change
|
|
|
|
log: "False"
|
|
|
|
log_chatid: "503691334"
|
|
|
|
|
2021-08-18 08:41:22 +00:00
|
|
|
# Disabled Built-in Commands
|
|
|
|
disabled_cmd:
|
|
|
|
- example1
|
|
|
|
- example2
|
|
|
|
|
2020-02-19 15:31:39 +00:00
|
|
|
# Google search preferences
|
|
|
|
result_length: "5"
|
|
|
|
|
|
|
|
# TopCloud image output preferences
|
|
|
|
width: "1920"
|
|
|
|
height: "1080"
|
|
|
|
background: "#101010"
|
2021-08-18 08:41:22 +00:00
|
|
|
margin: "20"
|
|
|
|
|
|
|
|
# socks5 or http or MTProto
|
|
|
|
proxy_addr: ""
|
|
|
|
proxy_port: ""
|
|
|
|
http_addr: ""
|
|
|
|
http_port: ""
|
|
|
|
mtp_addr: ""
|
|
|
|
mtp_port: ""
|
|
|
|
mtp_secret: ""
|
|
|
|
|
|
|
|
# Apt Git source
|
2022-02-24 05:38:37 +00:00
|
|
|
git_source: "https://gitlab.com/Xtao-Labs/PagerMaid_Plugins/-/raw/master/"
|
|
|
|
git_ssh: "https://gitlab.com/Xtao-Labs/pagermaid-modify.git"
|
2021-08-18 08:41:22 +00:00
|
|
|
|
|
|
|
# Update Notice
|
|
|
|
update_check: "True"
|
|
|
|
|
|
|
|
# ipv6
|
|
|
|
ipv6: "False"
|
|
|
|
|
|
|
|
# Analytics
|
|
|
|
allow_analytic: "True"
|
|
|
|
|
2021-10-03 16:42:16 +00:00
|
|
|
# Speed_test cli path
|
2021-08-18 08:41:22 +00:00
|
|
|
speed_test_path: ""
|
2021-10-03 16:42:16 +00:00
|
|
|
|
|
|
|
# Time format https://www.runoob.com/python/att-time-strftime.html
|
|
|
|
# 24 default
|
|
|
|
time_form: "%H:%M"
|
|
|
|
date_form: "%A %y/%m/%d"
|
|
|
|
# only support %m %d %H %M %S
|
|
|
|
start_form: "%m/%d %H:%M"
|
|
|
|
|
|
|
|
# Bot admins
|
|
|
|
bot_admins:
|
|
|
|
- example1
|
|
|
|
- example2
|
2022-01-20 08:27:20 +00:00
|
|
|
|
|
|
|
# Silent to reduce editing times
|
|
|
|
silent: "True"
|