better error
This commit is contained in:
parent
f5a45381a6
commit
9fe08b84ee
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ export class UserCommand extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
const content = `Prompt: ${prompt}` || 'ERROR!';
|
const content = `Sorry! I goofed up. Please ask my maker HimbothySwaggins about what could have happened!`;
|
||||||
|
|
||||||
if (interactionOrMessage instanceof Message) {
|
if (interactionOrMessage instanceof Message) {
|
||||||
return askMessage.edit({ content });
|
return askMessage.edit({ content });
|
||||||
|
|
Loading…
Add table
Reference in a new issue