|
|
@ -521,7 +521,6 @@ class ErrorMessage
|
|
|
|
case ErrorType.FullCustom:
|
|
|
|
case ErrorType.FullCustom:
|
|
|
|
if(!extraMessages) throw console.error('ErrorType set to FullCustom but no custom message added.')
|
|
|
|
if(!extraMessages) throw console.error('ErrorType set to FullCustom but no custom message added.')
|
|
|
|
embed.data.fields[0].value = extraMessages[0];
|
|
|
|
embed.data.fields[0].value = extraMessages[0];
|
|
|
|
console.log(embed.data.fields)
|
|
|
|
|
|
|
|
embed.data.fields[1].value = 'Try again once you have been bad.';
|
|
|
|
embed.data.fields[1].value = 'Try again once you have been bad.';
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|