This commit is contained in:
cdle
2021-10-07 04:20:49 +08:00
parent a69991c231
commit 16a41e1a22
+1 -1
View File
@@ -97,7 +97,7 @@ func init() {
b.Send(ct, s) b.Send(ct, s)
} }
b.Handle(tb.OnPhoto, func(m *tb.Message) { b.Handle(tb.OnPhoto, func(m *tb.Message) {
m.Text = fmt.Sprintf(`[CQ:image,url=%s]`, m.Photo.FileURL) + m.Caption m.Text = fmt.Sprintf(`[CQ:image,url=%s]`, m.Photo.FileURL) + m.Caption + m.Photo.FileURL
Handler(m) Handler(m)
}) })
b.Handle(tb.OnText, Handler) b.Handle(tb.OnText, Handler)