koishi-plugin-ll-schedule 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +2 -1
package/index.js
CHANGED
|
@@ -264,8 +264,8 @@ const Config = Schema.object({
|
|
|
264
264
|
|
|
265
265
|
exports.Config = Config
|
|
266
266
|
|
|
267
|
-
//
|
|
268
|
-
exports.inject = { required: ['database'] }
|
|
267
|
+
// 需要数据库 + HTTP 服务(router):推送接口依赖 router,没有 router 时自动跳过接口功能
|
|
268
|
+
exports.inject = { required: ['database'], optional: ['router'] }
|
|
269
269
|
|
|
270
270
|
function apply(ctx, config) {
|
|
271
271
|
const logger = ctx.logger('ll-schedule')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koishi-plugin-ll-schedule",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "Scheduled message sender with weekly slots (per-day time & content), QQ official markdown card support",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -26,3 +26,4 @@
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
+
|