mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
add: 相关说明
This commit is contained in:
parent
c8275b03b4
commit
ece5ca147b
38
README.md
38
README.md
@ -3,7 +3,8 @@
|
||||
通过Github Actions挂载Nodejs脚本
|
||||
> [Actions官方文档](https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions)
|
||||
|
||||
默认整点运行,只转发非官方抽奖
|
||||
---
|
||||
|
||||
## 操作步骤
|
||||
1. fork本仓库
|
||||
|
||||
@ -16,11 +17,36 @@
|
||||

|
||||

|
||||
|
||||
3. 如果想使用**微信推送**服务请用同样的方法填入`SCKEY`
|
||||
[Server酱](http://sc.ftqq.com/3.version)
|
||||
具体方法可以参考同样参考[BILIBILI-HELPER](https://github.com/JunzhouLiu/BILIBILI-HELPER)
|
||||
3. 如果想使用Server酱提供的**微信推送**服务请用同样的方法填入`SCKEY`
|
||||
> [Server酱是什么?](http://sc.ftqq.com/3.version)
|
||||
|
||||
4. 随便改一下`README.md`文件再作一次提交便自动运行
|
||||
|
||||
---
|
||||
|
||||
4. 随便改一下此文件再作一次提交便自动运行
|
||||
## 效果
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
## 部分设置说明
|
||||
- 定时运行
|
||||
```yaml
|
||||
schedule:
|
||||
- cron: '0 */2 * * *'
|
||||
```
|
||||
> [填写格式](https://crontab.guru/)
|
||||
- 模式选择
|
||||
```javascript
|
||||
/**
|
||||
* 默认设置
|
||||
*/
|
||||
let config = {
|
||||
model: '11',/* both */
|
||||
chatmodel: '11',/* both */
|
||||
}
|
||||
```
|
||||
[具体含义](https://github.com/shanmite/LotteryAutoScript/issues/2)
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ const Script = {
|
||||
* 默认设置
|
||||
*/
|
||||
let config = {
|
||||
model: '01',/* both */
|
||||
model: '11',/* both */
|
||||
chatmodel: '01',/* both */
|
||||
maxday: '-1', /* 不限 */
|
||||
wait: '60000', /* 60s */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user