This commit is contained in:
2024-01-19 16:04:05 -07:00
parent e283e65868
commit 4469788d91
3 changed files with 3 additions and 8 deletions

View File

@ -189,6 +189,7 @@ func (h *handler) cmdPic(ctx context.Context, data cmdroute.CommandData) *api.In
// Concatenate clean username and timestamp to form filename
filename := data.Event.Sender().Username + "_" + timestamp + ".jpg"
fmt.Println("The filename is: ", filename)
imageFile, err := lib.ReplicateImageGeneration(options.Prompt, filename)