Files
sdu-course-bot/config.yaml.example

45 行
913 B
Plaintext
原始文件 Blame 歷史記錄

此檔案包含易混淆的 Unicode 字元

此檔案包含可能與其他字元混淆的 Unicode 字元。如果您認為這是有意的,可以安全地忽略此警告。使用 Escape 鍵來顯示它們。

# 学号
username: "2020123456"
# 密码
password: "abcdefg123123"
# 在 https://qmsg.zendee.cn 获取
qmsgKey: "15rg6s5t1h6t1s5g66"
## telegram api 域名
#tgApiDomain: "api.telegram.org"
## @BotFather 建立机器人获取
#tgApiKey: ""
## @getidsbot 获取
#tgChatId: -454888515
# 轮询间隔毫秒
interval: 100
# 监控列表
# channel: bx(必修),xx(限选),rx(任选)
# kch:课程号kxh:课序号
monit:
list:
- kch: sd01332200
kxh: 100
channel: rx
# 抢课列表,列表中全抢
acquire:
list:
- kch: sd01332200
kxh: 100
channel: rx
- kch: sd00812930
kxh: 900
channel: xx
# 换课列表(先退掉冲突的课再抢课),列表中任抢其一
replace:
list:
- kch: sd01332200
kxh: 100
channel: bx
- kch: sd01332200
kxh: 100
channel: bx
exit:
kch: sd01332299
kxh: 100
channel: bx