Smal change to prompt errors
This commit is contained in:
@ -103,7 +103,7 @@ export class UserCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!imageGenResponse.ok) {
|
if (!imageGenResponse.ok) {
|
||||||
const content = `Sorry! I goofed up. Please ask my maker HimbothySwaggins about what could have happened!`;
|
const content = `Sorry, I can't complete the prompt for: ${prompt}`;
|
||||||
|
|
||||||
if (interactionOrMessage instanceof Message) {
|
if (interactionOrMessage instanceof Message) {
|
||||||
return askMessage.edit({ content });
|
return askMessage.edit({ content });
|
||||||
|
@ -105,7 +105,7 @@ export class UserCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!imageGenResponse.ok) {
|
if (!imageGenResponse.ok) {
|
||||||
const content = `Sorry! I goofed up. Please ask my maker HimbothySwaggins about what could have happened!`;
|
const content = `Sorry, I can't complete the prompt for: ${prompt}`;
|
||||||
|
|
||||||
if (interactionOrMessage instanceof Message) {
|
if (interactionOrMessage instanceof Message) {
|
||||||
return askMessage.edit({ content });
|
return askMessage.edit({ content });
|
||||||
|
Reference in New Issue
Block a user