fixes to bot error message

This commit is contained in:
Stanley Dimant 2022-10-04 14:50:28 +02:00
parent d866223069
commit 4f6d9f1e65
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 9dc1e901aa453e65bb432b2b288c1ff00021700a Subproject commit fc47c861b7f7464bde6913e547ac191ae24a14cb

View file

@ -161,7 +161,7 @@ public class DiscordBot : IHostedService
if (!rgx.Match(newUid).Success || newUid.Length != 10) if (!rgx.Match(newUid).Success || newUid.Length != 10)
{ {
eb.WithTitle("Failed to set Vanity UID"); eb.WithTitle("Failed to set Vanity UID");
eb.WithDescription("The Vanity UID must be 10 characters long and only contain uppercase letters A-Z and numbers 0-9."); eb.WithDescription("The Vanity UID must be between 5 and 15 characters and only contain letters A-Z, numbers 0-9, as well as - and _.");
return eb; return eb;
} }