2020-02-19 15:31:39 +00:00
|
|
|
# ===================================================================
|
|
|
|
# __________ _____ .__ .___
|
|
|
|
# \______ \_____ ____ ___________ / \ _____ |__| __| _/
|
|
|
|
# | ___/\__ \ / ___\_/ __ \_ __ \/ \ / \\__ \ | |/ __ |
|
|
|
|
# | | / __ \_/ /_/ > ___/| | \/ Y \/ __ \| / /_/ |
|
|
|
|
# |____| (____ /\___ / \___ >__| \____|__ (____ /__\____ |
|
|
|
|
# \//_____/ \/ \/ \/ \/
|
|
|
|
# ===================================================================
|
|
|
|
|
2020-04-05 10:01:41 +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"
|
|
|
|
|
|
|
|
# Locale settings
|
2020-02-29 02:04:36 +00:00
|
|
|
application_language: "zh-cn"
|
|
|
|
application_region: "China"
|
2020-06-06 17:22:44 +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"
|
|
|
|
|
2020-08-09 15:17:55 +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"
|
2020-06-06 17:22:44 +00:00
|
|
|
margin: "20"
|
2020-08-08 13:17:46 +00:00
|
|
|
|
2021-06-21 05:55:35 +00:00
|
|
|
# socks5 or http or MTProto
|
2020-08-08 13:17:46 +00:00
|
|
|
proxy_addr: ""
|
|
|
|
proxy_port: ""
|
2021-06-19 13:53:03 +00:00
|
|
|
http_addr: ""
|
|
|
|
http_port: ""
|
2020-08-08 13:17:46 +00:00
|
|
|
mtp_addr: ""
|
|
|
|
mtp_port: ""
|
2020-08-09 15:17:55 +00:00
|
|
|
mtp_secret: ""
|
2021-06-21 05:55:35 +00:00
|
|
|
|
|
|
|
# Apt Git source
|
|
|
|
git_source: "https://raw.githubusercontent.com/Xtao-Labs/PagerMaid_Plugins/master/"
|
2021-07-16 05:23:50 +00:00
|
|
|
git_api: "https://api.github.com/repos/Xtao-Labs/PagerMaid-Modify/commits/master"
|
|
|
|
git_ssh: "https://github.com/Xtao-Labs/PagerMaid-Modify.git"
|
2021-07-17 06:05:38 +00:00
|
|
|
|
|
|
|
# Update Notice
|
2021-07-16 05:23:50 +00:00
|
|
|
update_check: "True"
|
2021-07-17 06:05:38 +00:00
|
|
|
update_time: "86400"
|
|
|
|
update_username: "self"
|
|
|
|
update_delete: "True"
|
2021-07-11 06:08:29 +00:00
|
|
|
|
|
|
|
# ipv6
|
|
|
|
ipv6: "False"
|
2021-07-17 17:25:54 +00:00
|
|
|
|
|
|
|
# Analytics
|
2021-07-19 03:27:02 +00:00
|
|
|
allow_analytic: "True"
|
2021-07-27 04:14:49 +00:00
|
|
|
|
2021-08-28 08:53:54 +00:00
|
|
|
# Speed_test cli path
|
2021-07-27 04:14:49 +00:00
|
|
|
speed_test_path: ""
|
2021-08-28 08:53:54 +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"
|
2021-09-04 08:28:38 +00:00
|
|
|
# only support %m %d %H %M %S
|
|
|
|
start_form: "%m/%d %H:%M"
|
2021-10-03 16:42:16 +00:00
|
|
|
|
|
|
|
# Bot admins
|
|
|
|
bot_admins:
|
|
|
|
- example1
|
|
|
|
- example2
|