diff --git a/utils/tools/JinyanTool.js b/utils/tools/JinyanTool.js index cf736b7e..bd634b18 100644 --- a/utils/tools/JinyanTool.js +++ b/utils/tools/JinyanTool.js @@ -29,7 +29,7 @@ export class JinyanTool extends AbstractTool { let { qq, groupId, time = '600', sender, isAdmin, isPunish } = opts let group = await Bot.pickGroup(groupId) time = parseInt(time.trim()) - if (time < 60) { + if (time < 60 && time !== 0) { time = 60 } if (time > 86400 * 30) {