fix: 优化回复文本

This commit is contained in:
ikechan8370 2023-03-04 19:02:19 +08:00
parent ac5b718531
commit 59bec4e22a

View file

@ -558,7 +558,7 @@ export class chatgpt extends plugin {
let wav = await generateAudio(response, speaker, '中文')
e.reply(segment.record(wav))
} else {
await this.reply('你没有配置转语音API哦,我用文本回复你吧', e.isGroup)
await this.reply('你没有配置转语音API或者文字太长了哦,我用文本回复你吧', e.isGroup)
await this.reply(`${response}`, e.isGroup)
if (quotemessage.length > 0) {
this.reply(await makeForwardMsg(this.e, quotemessage))