mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
fix: tts tool
This commit is contained in:
parent
38383e373e
commit
d52f95780a
1 changed files with 1 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ export class TTSTool extends AbstractTool {
|
||||||
if (sendable) {
|
if (sendable) {
|
||||||
let group = await Bot.pickGroup(groupId)
|
let group = await Bot.pickGroup(groupId)
|
||||||
await group.sendMsg(sendable)
|
await group.sendMsg(sendable)
|
||||||
|
return 'audio has been sent successfully'
|
||||||
} else {
|
} else {
|
||||||
return 'audio generation failed'
|
return 'audio generation failed'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue