fix: tts tool

This commit is contained in:
ikechan8370 2023-06-25 16:46:48 +08:00
parent 38383e373e
commit d52f95780a

View file

@ -45,6 +45,7 @@ export class TTSTool extends AbstractTool {
if (sendable) {
let group = await Bot.pickGroup(groupId)
await group.sendMsg(sendable)
return 'audio has been sent successfully'
} else {
return 'audio generation failed'
}