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