MihoyoBBSTools/config/push.ini.example
2022-09-02 15:08:49 +08:00

55 lines
924 B
Plaintext

[setting]
enable=true
#共有 cqhttp ftqq(sever酱) pushplus telegram wecom dingrobot bark pushdeer gotify email
push_server=smtp
#server酱 pushplus dingrobot 的推送token
push_token=123456
[cqhttp]
#cqhttp的服务端地址
cqhttp_url=http://127.0.0.1:5000/send_private_msg
#推送给谁
cqhttp_qq=10001
[telegram]
api_url=api.telegram.org
bot_token=123465:abcdefg
chat_id=123456
[wecom]
#企业微信的corpid
wechat_id=
#企业微信的应用配置
agentid=
secret=
touser=@all
[pushdeer]
api_url=https://api2.pushdeer.com
token=
[dingrobot]
webhook=https://oapi.dingtalk.com/robot/send?access_token=XXX
secret=
[bark]
api_url=https://api.day.app
token=ssXXX
[gotify]
api_url=http://xxx.xxx.cn
token=AMxxxx
priority=7
# 邮件推送
[smtp]
mailhost=smtp.qq.com
port=465
fromaddr=xxx@example.com
toaddr=xxx@example.com
# 邮件标题
subject=AutoMihoyoBBS
username=xxx@example.com
# 授权码
password=passward