koishi-plugin-schedule
Advanced tools
Comparing version 2.0.0-beta.5 to 2.0.0-beta.6
@@ -23,2 +23,3 @@ "use strict"; | ||
}); | ||
koishi_core_1.extendDatabase('koishi-plugin-mongo', {}); | ||
//# sourceMappingURL=database.js.map |
@@ -61,7 +61,7 @@ "use strict"; | ||
ctx.command('schedule [time]', '设置定时命令', { authority: 3, checkUnknown: true }) | ||
.option('--, --rest <command...>', '要执行的指令') | ||
.option('/, --interval <interval>', '设置触发的间隔秒数', { authority: 4, isString: true }) | ||
.option('-l, --list', '查看已经设置的日程') | ||
.option('-L, --full-list', '查看全部上下文中已经设置的日程', { authority: 4 }) | ||
.option('-d, --delete <id>', '删除已经设置的日程') | ||
.option('rest', '-- <command...> 要执行的指令') | ||
.option('interval', '/ <interval> 设置触发的间隔秒数', { authority: 4, type: 'string' }) | ||
.option('list', '-l 查看已经设置的日程') | ||
.option('fullList', '-L 查看全部上下文中已经设置的日程', { authority: 4 }) | ||
.option('delete', '-d <id> 删除已经设置的日程') | ||
.action(async ({ session, options }, ...dateSegments) => { | ||
@@ -68,0 +68,0 @@ if (options.delete) { |
{ | ||
"name": "koishi-plugin-schedule", | ||
"description": "Schedule plugin for Koishi", | ||
"version": "2.0.0-beta.5", | ||
"version": "2.0.0-beta.6", | ||
"main": "dist/index.js", | ||
@@ -37,9 +37,10 @@ "typings": "dist/index.d.ts", | ||
"devDependencies": { | ||
"koishi-plugin-mysql": "^2.0.0-beta.2", | ||
"koishi-plugin-mongo": "^1.0.0-beta.1", | ||
"koishi-plugin-mysql": "^2.0.0-beta.3", | ||
"koishi-test-utils": "^4.0.0-beta.3" | ||
}, | ||
"dependencies": { | ||
"koishi-core": "^2.0.0-beta.6", | ||
"koishi-utils": "^2.1.2" | ||
"koishi-core": "^2.0.0-beta.7", | ||
"koishi-utils": "^2.1.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
12618
150
3
Updatedkoishi-core@^2.0.0-beta.7
Updatedkoishi-utils@^2.1.3