Added component response for generate_report

This commit is contained in:
2025-07-23 18:46:39 +03:00
parent ba2ad34d6e
commit 09abd6c116
4 changed files with 55 additions and 4 deletions

View File

@@ -24,6 +24,7 @@
"Upload a background image to use (Only supports PNG, JPEG, and WEBP files)"
#define COMMAND_GENERATE_REPORT_ARGS_HEADLINE_DESCRIPTION \
"What is the headline?"
#define COMMAND_GENERATE_REPORT_FAIL_NOT_SUPPORTED(filetype) \
"File type: " + filetype + \
" is not supported. Only PNG, JPEG, and WEBP are allowed!"
@@ -31,12 +32,13 @@
"Failed to download the background image! Aborting." RESPONSE_NO_CHARGE
#define COMMAND_GENERATE_REPORT_FAIL_IMAGE_LOAD \
"Failed to load the background image! Aborting." RESPONSE_NO_CHARGE
#define COMMAND_GENERATE_REPORT_CONFIRMATION_QUESTION(price, imageURL, \
headline) \
imageMIME, headline) \
"This image generation will cost you " + price + \
" " CURRENCY_NAME \
"(s).\nAre you sure you want to continue?\nHeadline: " + \
headline + " [image](" + imageURL + ")"
headline + "\n[" + imageMIME + "](" + imageURL + ")"
// Command get_pfp
#define COMMAND_GET_PFP_DESCRIPTION \