discord error message

This commit is contained in:
Brandon Thomas committed 2022-03-04 04:05:16 -05:00
1 parent b0cd658059
commit 9de2cb4de5
1 file changed
+5
@@ -157,6 +157,11 @@ function VoiceCloneRequestPage(props: Props) {
return false;
}
if (!!discord.trim() && !discord.includes("#")) {
setFormErrorMessage("Discord username is invalid. It needs the '#' number.");
return false;
}
let request : CreateVoiceCloneApplicationRequest = {
idempotency_token: uuidv4(),