koishi-plugin-schedule
Advanced tools
Comparing version 2.0.0-alpha.37 to 2.0.0-alpha.38
@@ -7,2 +7,3 @@ "use strict"; | ||
require("./database"); | ||
const logger = koishi_utils_1.Logger.create('schedule'); | ||
function inspectSchedule({ id, assignee, meta, interval, command, time }) { | ||
@@ -12,2 +13,3 @@ const now = Date.now(); | ||
const app = koishi_core_1.appMap[assignee]; | ||
logger.debug('inspect', command); | ||
if (!interval) { | ||
@@ -14,0 +16,0 @@ if (date < now) |
{ | ||
"name": "koishi-plugin-schedule", | ||
"description": "Schedule plugin for Koishi", | ||
"version": "2.0.0-alpha.37", | ||
"version": "2.0.0-alpha.38", | ||
"main": "dist/index.js", | ||
@@ -37,10 +37,10 @@ "typings": "dist/index.d.ts", | ||
"devDependencies": { | ||
"koishi-database-level": "^2.0.0-alpha.33", | ||
"koishi-database-mysql": "^2.0.0-alpha.33", | ||
"koishi-test-utils": "^4.0.0-alpha.33" | ||
"koishi-database-level": "^2.0.0-alpha.34", | ||
"koishi-database-mysql": "^2.0.0-alpha.34", | ||
"koishi-test-utils": "^4.0.0-alpha.34" | ||
}, | ||
"dependencies": { | ||
"koishi-core": "^2.0.0-alpha.33", | ||
"koishi-utils": "^2.1.0" | ||
"koishi-core": "^2.0.0-alpha.34", | ||
"koishi-utils": "^2.1.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
12331
143
Updatedkoishi-core@^2.0.0-alpha.34
Updatedkoishi-utils@^2.1.1