Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
K
koishi-schedule-send
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
3rdeye
koishi-schedule-send
Commits
d6f6dbf5
Commit
d6f6dbf5
authored
May 04, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme
parent
b3cb6b2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
README.md
README.md
+7
-2
No files found.
README.md
View file @
d6f6dbf5
...
...
@@ -23,9 +23,14 @@ export default class TestSendPlugin extends SchedulePlugin(Config) {
配置会自动从插件工厂函数中混入,下面为配置。其中
`targets`
见
[
koishi-target-def
](
https://www.npmjs.com/package/koishi-target-def
)
的定义。
间隔定义有
`cron`
`interval`
`randomInterval`
三种,可以自由组合使用。
```
yaml
cron
:
'
18
13
*
*
*
*'
interval
:
30000
# cron 和 interval 选一个即可
cron
:
'
18
13
*
*
*
*'
# cron 语法
interval
:
30000
# 固定间隔
randomInterval
:
# 随机间隔
min
:
5000
max
:
10000
immediate
:
false
# 是否立即发送
targets
:
-
bot
:
'
onebot:1111111111'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment