Merge branch 'v2' into wip2.7

This commit is contained in:
ikechan8370 2023-06-25 01:04:44 +08:00 committed by GitHub
commit 7f799b657c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 358 additions and 183 deletions

View file

@ -215,9 +215,9 @@ ${translateLangLabels}
const regExp = /词云(\d{0,2})(|h)/
const match = e.msg.trim().match(regExp)
const duration = !match[1] ? 12 : parseInt(match[1]) // default 12h
const duration = !match[1] ? 12 : parseInt(match[1]) // default 12h
if (duration > 24) {
if(duration > 24) {
await e.reply('最多只能统计24小时内的记录哦')
return false
}