sdu-course-bot/config.yaml.example

45 行
913 B
Plaintext

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 学号
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