mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-05-11 17:19:41 +08:00
chore: update
This commit is contained in:
@@ -1,31 +1,34 @@
|
||||
[telegram]
|
||||
token = ""
|
||||
admins = []
|
||||
token = "" # Bot Token
|
||||
admins = [777000] # 你的 user_id
|
||||
api = "https://api.telegram.org"
|
||||
|
||||
[log]
|
||||
level = "DEBUG"
|
||||
level = "DEBUG" # 日志等级
|
||||
|
||||
[temp]
|
||||
base_path = "cache/"
|
||||
cache_ttl = 30
|
||||
base_path = "cache/" # 临时目录, 请不要在此目录下存放任何其他文件
|
||||
cache_ttl = 30 # 临时文件保存时间, 单位: 秒
|
||||
|
||||
[db]
|
||||
path = "data/data.db" # 数据库文件路径
|
||||
|
||||
[storage]
|
||||
[storage.alist]
|
||||
[storage.alist] # Alist
|
||||
enable = true
|
||||
base_path = "/telegram" # 保存路径
|
||||
username = "admin" # 用户名
|
||||
password = "password" # 密码
|
||||
url = "https://alist.com" # Alist 地址
|
||||
token_exp = 86400 # token 过期时间, 单位: 秒
|
||||
|
||||
[storage.local] # 本地磁盘
|
||||
enable = true
|
||||
base_path = "downloads/" # 保存路径
|
||||
|
||||
[storage.webdav] # WebDav
|
||||
enable = true
|
||||
base_path = "/telegram"
|
||||
username = "admin"
|
||||
password = "password"
|
||||
url = "https://alist.com"
|
||||
token_exp = 86400
|
||||
|
||||
[storage.local]
|
||||
enable = true
|
||||
base_path = "downloads/"
|
||||
|
||||
[storage.webdav]
|
||||
enable = true
|
||||
base_path = "/telegram"
|
||||
username = "admin"
|
||||
password = "password"
|
||||
url = "https://alist.com/dav"
|
||||
url = "https://alist.com/dav"
|
||||
|
||||
Reference in New Issue
Block a user