Updated Discord username validator

This commit is contained in:
2025-03-14 14:54:36 +01:00
parent 4d87654f5a
commit b01a92fd04
3 changed files with 3 additions and 3 deletions

View File

@ -112,7 +112,7 @@ func (user *User) Edit(ctx aero.Context, key string, value reflect.Value, newVal
}
if !validate.DiscordNick(newNick) {
return true, errors.New("Discord username must include your name and the 4-digit Discord tag (e.g. Yandere#1234)")
return true, errors.New("Not a valid Discord username")
}
// Trim spaces