2022-05-23 12:40:30 +00:00
|
|
|
# ===================================================================
|
|
|
|
# __________ _____ .__ .___
|
|
|
|
# \______ \_____ ____ ___________ / \ _____ |__| __| _/
|
|
|
|
# | ___/\__ \ / ___\_/ __ \_ __ \/ \ / \\__ \ | |/ __ |
|
|
|
|
# | | / __ \_/ /_/ > ___/| | \/ Y \/ __ \| / /_/ |
|
|
|
|
# |____| (____ /\___ / \___ >__| \____|__ (____ /__\____ |
|
|
|
|
# \//_____/ \/ \/ \/ \/
|
|
|
|
# ===================================================================
|
|
|
|
|
|
|
|
# API Credentials of your telegram application created at https://my.telegram.org/apps
|
|
|
|
api_id: "ID_HERE"
|
|
|
|
api_hash: "HASH_HERE"
|
2023-01-20 13:57:30 +00:00
|
|
|
qrcode_login: "False"
|
2023-06-20 09:02:18 +00:00
|
|
|
web_login: "False"
|
2022-05-23 12:40:30 +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"
|
2023-01-31 16:46:26 +00:00
|
|
|
origins: ["*"]
|
2022-05-23 12:40:30 +00:00
|
|
|
|
|
|
|
# Locale settings
|
|
|
|
application_language: "zh-cn"
|
|
|
|
application_region: "China"
|
|
|
|
application_tts: "zh-CN"
|
2023-01-16 06:31:04 +00:00
|
|
|
timezone: "Asia/ShangHai"
|
2022-05-23 12:40:30 +00:00
|
|
|
|
|
|
|
# In-Chat logging settings, default settings logs directly into Kat, strongly advised to change
|
|
|
|
log: "False"
|
2023-12-29 11:40:53 +00:00
|
|
|
# chat id of the log group, such as -1001234567890, also can use username, such as "telegram"
|
|
|
|
log_chatid: "me"
|
2022-05-23 12:40:30 +00:00
|
|
|
|
|
|
|
# Disabled Built-in Commands
|
|
|
|
disabled_cmd:
|
|
|
|
- example1
|
|
|
|
- example2
|
|
|
|
|
|
|
|
# Google search preferences
|
|
|
|
result_length: "5"
|
|
|
|
|
|
|
|
# TopCloud image output preferences
|
|
|
|
width: "1920"
|
|
|
|
height: "1080"
|
|
|
|
background: "#101010"
|
|
|
|
margin: "20"
|
|
|
|
|
|
|
|
# socks5 or http or MTProto
|
|
|
|
proxy_addr: ""
|
|
|
|
proxy_port: ""
|
|
|
|
http_addr: ""
|
|
|
|
http_port: ""
|
|
|
|
mtp_addr: ""
|
|
|
|
mtp_port: ""
|
|
|
|
mtp_secret: ""
|
|
|
|
|
|
|
|
# Apt Git source
|
2023-06-18 03:13:16 +00:00
|
|
|
git_source: "https://v2.xtaolabs.com/"
|
2022-05-27 15:09:24 +00:00
|
|
|
git_ssh: "https://github.com/TeamPGM/PagerMaid-Pyro.git"
|
2022-05-23 12:40:30 +00:00
|
|
|
|
|
|
|
# Update Notice
|
|
|
|
update_check: "True"
|
|
|
|
update_time: "86400"
|
|
|
|
update_username: "PagerMaid_Modify_bot"
|
|
|
|
update_delete: "True"
|
|
|
|
|
|
|
|
# ipv6
|
|
|
|
ipv6: "False"
|
|
|
|
|
|
|
|
# Analytics
|
|
|
|
allow_analytic: "True"
|
2023-12-29 11:40:53 +00:00
|
|
|
sentry_api: ""
|
|
|
|
mixpanel_api: ""
|
2022-05-23 12:40:30 +00:00
|
|
|
|
|
|
|
# Speed_test cli path
|
|
|
|
speed_test_path: ""
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
|
|
|
# Silent to reduce editing times
|
|
|
|
silent: "True"
|
2024-02-05 13:16:25 +00:00
|
|
|
|
|
|
|
# Eval use pb or not
|
|
|
|
use_pb: "True"
|