mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 我勒个双重过滤啊
This commit is contained in:
parent
cb68af40af
commit
76d6f6b4ad
1 changed files with 3 additions and 3 deletions
|
|
@ -362,9 +362,9 @@ export class bym extends plugin {
|
|||
} else {
|
||||
let finalMsg = await convertFaces(t, true, e)
|
||||
finalMsg = finalMsg.map(filterResponseChunk).filter(i => !!i)
|
||||
if (!finalMsg || (typeof finalMsg === 'string' && !finalMsg.trim())) {
|
||||
continue
|
||||
}
|
||||
// if (!finalMsg || (typeof finalMsg === 'string' && !finalMsg.trim())) {
|
||||
// continue
|
||||
// }
|
||||
logger.info(JSON.stringify(finalMsg))
|
||||
if (Math.floor(Math.random() * 100) < 10) {
|
||||
await e.reply(finalMsg, true, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue