Skip to content

Commit

Permalink
Create config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
z-mio authored May 6, 2023
1 parent f740681 commit b006b10
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
user:
admin: 123456789 # 管理员用户id,可通过@get_id_bot获取id
api_hash:
# api_id、api_hash在 https://my.telegram.org/apps 获取
api_id:
bot_token: # bot的api token,从 @BotFather 获取
proxy: # 支持“socks4”、“socks5”和“http”,不填则为关闭,海外服务器为空即可
hostname: 127.0.0.1
port: 7890
scheme: http
emby:
emby_url: http://127.0.0.1:8096 # emby地址
XEmbyToken: # emby token
scraping_task: # 定时推送刮削进度,为空则不不开启
chat_id: # 群组/频道/用户的id
intervals: 30 # 间隔时间,默认为30分钟推送一次
backup_database: # 定时备份数据库
time: '0 3 * * *' # 格式为5位cron表达式

0 comments on commit b006b10

Please sign in to comment.