Update config.py

This commit is contained in:
HibiKier 2021-06-10 14:47:11 +08:00 committed by GitHub
parent 74a37df635
commit c760f136d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,13 +18,14 @@ TL_KEY: List[str] = []
# 数据库(必要) # 数据库(必要)
# 如果填写了bind就不需要再填写后面的字段了# # 如果填写了bind就不需要再填写后面的字段了#
bind: str = '' # bind示例"bind": "postgresql://user:password@127.0.0.1:5432/database"
sql_name: str = '' bind: str = '' # 数据库连接url
user: str = '' sql_name: str = 'postgresql'
password: str = '' user: str = '' # 数据库用户名
address: str = '' password: str = '' # 数据库密码
port: str = '' address: str = '' # 数据库地址
database: str = '' port: str = '' # 数据库端口
database: str = '' # 数据库名称
# 公开图库列表 # 公开图库列表
@ -34,6 +35,19 @@ IMAGE_DIR_LIST: List[str] = ["色图", "美图", "萝莉", "壁纸"]
BAN_RESULT: str = "才不会给你发消息." BAN_RESULT: str = "才不会给你发消息."
# 各种抽卡卡池的开关
PRTS_FLAG = True # 明日方舟
GENSHIN_FLAG = True # 原神
PRETTY_FLAG = True # 赛马娘
GUARDIAN_FLAG = True # 坎公骑冠剑
PCR_FLAG = True # 公主连结
AZUR_FLAG = True # 碧蓝航线
FGO_FLAG = True # 命运-冠位指定FGO
ONMYOJI_FLAG = True # 阴阳师
PCR_TAI = True # pcr是否开启台服卡池
# 插件配置 # 插件配置
MAXINFO_REIMU: int = 7 # 上车(reimu)功能查找目的地的最大数 MAXINFO_REIMU: int = 7 # 上车(reimu)功能查找目的地的最大数
COUNT_PER_DAY_REIMU: int = 5 # 每日上车(reimu)次数限制 COUNT_PER_DAY_REIMU: int = 5 # 每日上车(reimu)次数限制