We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8c3cc5 commit 7e8539cCopy full SHA for 7e8539c
plugin/airecord/record.go
@@ -116,8 +116,11 @@ func init() {
116
recCfg := airecord.GetRecordConfig()
117
record := ctx.GetAIRecord(recCfg.ModelID, recCfg.Customgid, u)
118
if record == "" {
119
- ctx.SendChain(message.Text("ERROR: get record err: empty record"))
120
- return
+ id := ctx.SendGroupAIRecord(recCfg.ModelID, ctx.Event.GroupID, u)
+ if id == "" {
121
+ ctx.SendChain(message.Text("ERROR: get record err: empty record"))
122
+ return
123
+ }
124
}
125
ctx.SendChain(message.Record(record))
126
})
0 commit comments