This commit is contained in:
cdle
2021-10-06 20:59:14 +08:00
parent c83cf25331
commit 6fefa1803d
+2 -1
View File
@@ -62,8 +62,9 @@ func init() {
paths = append(paths, core.ExecPath+"/data/images/"+v[1])
s = strings.Replace(s, fmt.Sprintf(`[CQ:image,file=%s]`, v[1]), "", -1)
}
ct := &tb.Chat{ID: int64(i)}
ct := &tb.Chat{ID: int64(i)}
b.Send(ct, s)
if len(paths) > 0 {
is := []tb.InputMedia{}
for index, path := range paths {