mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +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 {
|
} else {
|
||||||
let finalMsg = await convertFaces(t, true, e)
|
let finalMsg = await convertFaces(t, true, e)
|
||||||
finalMsg = finalMsg.map(filterResponseChunk).filter(i => !!i)
|
finalMsg = finalMsg.map(filterResponseChunk).filter(i => !!i)
|
||||||
if (!finalMsg || (typeof finalMsg === 'string' && !finalMsg.trim())) {
|
// if (!finalMsg || (typeof finalMsg === 'string' && !finalMsg.trim())) {
|
||||||
continue
|
// continue
|
||||||
}
|
// }
|
||||||
logger.info(JSON.stringify(finalMsg))
|
logger.info(JSON.stringify(finalMsg))
|
||||||
if (Math.floor(Math.random() * 100) < 10) {
|
if (Math.floor(Math.random() * 100) < 10) {
|
||||||
await e.reply(finalMsg, true, {
|
await e.reply(finalMsg, true, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue