修复单词错误,违禁词提示30秒撤回

fix #52 #51
This commit is contained in:
yeyang
2023-05-19 19:08:02 +08:00
parent 700820106c
commit b1163750dd
2 changed files with 2 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ export class NewGroupBannedWords extends plugin {
`触发违禁词:${bannedWord}\n`,
`触发者:${senderCard}(${e.user_id})\n`,
`执行:${groupPenaltyAction[data.penaltyType]}`
])
], false, { recallMsg: 30 })
}
}

View File

@@ -210,6 +210,6 @@ export default new class {
let Request = await this.get(url, {
headers
}).catch(err => logger.error(err))
return segment.image(Request?.body ?? `${Plugin_Path}/resoures/img/imgerror.png`, cache, timeout)
return segment.image(Request?.body ?? `${Plugin_Path}/resources/img/imgerror.png`, cache, timeout)
}
}()