Image name

This commit is contained in:
Atridad Lahiji 2023-12-27 11:58:46 -07:00
parent cb1686030a
commit 53c81941db
No known key found for this signature in database

View file

@ -223,7 +223,7 @@ func (h *handler) cmdPic(ctx context.Context, data cmdroute.CommandData) *api.In
imageFile := bytes.NewBuffer(imageBytes)
file := sendpart.File{
Name: "image.png",
Name: "himbot_response.png",
Reader: imageFile,
}
@ -272,7 +272,7 @@ func (h *handler) cmdHDPic(ctx context.Context, data cmdroute.CommandData) *api.
imageFile := bytes.NewBuffer(imageBytes)
file := sendpart.File{
Name: "image.png",
Name: "himbot_response.png",
Reader: imageFile,
}