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
2b363b14e8
commit
891750cfb0
1 changed files with 1 additions and 1 deletions
|
|
@ -621,7 +621,7 @@ export class chatgpt extends plugin {
|
|||
if (useTTS) {
|
||||
if (Config.ttsSpace && response.length <= 299) {
|
||||
let wav = await generateAudio(response, speaker, '中文')
|
||||
e.reply(segment.record(wav))
|
||||
await e.reply(segment.record(wav))
|
||||
if (Config.alsoSendText) {
|
||||
await this.reply(`${response}`, e.isGroup)
|
||||
if (quotemessage.length > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue