mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-13 18:44:14 +01:00
fixes to bot error message
This commit is contained in:
parent
d866223069
commit
4f6d9f1e65
2 changed files with 2 additions and 2 deletions
2
MareAPI
2
MareAPI
|
|
@ -1 +1 @@
|
||||||
Subproject commit 9dc1e901aa453e65bb432b2b288c1ff00021700a
|
Subproject commit fc47c861b7f7464bde6913e547ac191ae24a14cb
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue