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
ac5b718531
commit
59bec4e22a
1 changed files with 1 additions and 1 deletions
|
|
@ -558,7 +558,7 @@ export class chatgpt extends plugin {
|
||||||
let wav = await generateAudio(response, speaker, '中文')
|
let wav = await generateAudio(response, speaker, '中文')
|
||||||
e.reply(segment.record(wav))
|
e.reply(segment.record(wav))
|
||||||
} else {
|
} else {
|
||||||
await this.reply('你没有配置转语音API哦,我用文本回复你吧', e.isGroup)
|
await this.reply('你没有配置转语音API或者文字太长了哦,我用文本回复你吧', e.isGroup)
|
||||||
await this.reply(`${response}`, e.isGroup)
|
await this.reply(`${response}`, e.isGroup)
|
||||||
if (quotemessage.length > 0) {
|
if (quotemessage.length > 0) {
|
||||||
this.reply(await makeForwardMsg(this.e, quotemessage))
|
this.reply(await makeForwardMsg(this.e, quotemessage))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue