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