Add prompt text
This commit is contained in:
parent
56c3706a24
commit
cb1686030a
1 changed files with 4 additions and 2 deletions
6
main.go
6
main.go
|
@ -228,7 +228,8 @@ func (h *handler) cmdPic(ctx context.Context, data cmdroute.CommandData) *api.In
|
|||
}
|
||||
|
||||
return &api.InteractionResponseData{
|
||||
Files: []sendpart.File{file},
|
||||
Content: option.NewNullableString("Prompt: " + options.Prompt),
|
||||
Files: []sendpart.File{file},
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -276,7 +277,8 @@ func (h *handler) cmdHDPic(ctx context.Context, data cmdroute.CommandData) *api.
|
|||
}
|
||||
|
||||
return &api.InteractionResponseData{
|
||||
Files: []sendpart.File{file},
|
||||
Content: option.NewNullableString("Prompt: " + options.Prompt),
|
||||
Files: []sendpart.File{file},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue