MihoyoBBSTools/config/push.ini.example

59 lines
1.2 KiB
Plaintext
Raw Normal View History

2022-01-09 09:31:44 +00:00
[setting]
2022-09-02 07:08:49 +00:00
enable=true
2022-09-02 14:05:15 +00:00
#共有 cqhttp ftqq(sever酱) pushplus telegram wecom dingrobot bark pushdeer gotify smtp(邮件推送)
push_server=cqhttp
#server酱 pushplus dingrobot 的推送token
2022-01-09 09:45:39 +00:00
push_token=123456
2022-01-09 09:31:44 +00:00
[cqhttp]
2022-01-09 09:45:39 +00:00
#cqhttp的服务端地址
cqhttp_url=http://127.0.0.1:5000/send_private_msg
#推送给谁
2022-01-25 07:03:53 +00:00
cqhttp_qq=10001
[telegram]
api_url=api.telegram.org
bot_token=123465:abcdefg
2022-04-20 05:00:29 +00:00
chat_id=123456
[wecom]
#企业微信的corpid
wechat_id=
#企业微信的应用配置
2022-04-20 05:00:29 +00:00
agentid=
secret=
touser=@all
2022-04-20 05:44:55 +00:00
[pushdeer]
api_url=https://api2.pushdeer.com
token=
[dingrobot]
webhook=https://oapi.dingtalk.com/robot/send?access_token=XXX
2022-05-09 01:07:50 +00:00
secret=
[bark]
api_url=https://api.day.app
token=ssXXX
2022-08-15 12:11:04 +00:00
[gotify]
api_url=http://xxx.xxx.cn
token=AMxxxx
2022-09-02 07:08:49 +00:00
priority=7
# 邮件推送
[smtp]
# 一般情况下465端口会使用ssl加密默认465端口不加密走25端口。
# 例如qq邮箱为465端口ssl加密;163邮箱不加密使用25端口。
# 请根据你的发送者邮箱配置端口和是否加密。
2022-09-02 07:08:49 +00:00
mailhost=smtp.qq.com
port=465
ssl_enable=true
2022-09-02 07:08:49 +00:00
fromaddr=xxx@example.com
toaddr=xxx@example.com
# 邮件主题
2022-09-02 07:08:49 +00:00
subject=AutoMihoyoBBS
username=xxx@example.com
# 授权码
password=passward