Username Validation
The following validation rules are applied to the username:
from sanatio import Validator
val = Validator()
isDiscordUsername(value)
- Checks if the username is a valid Discord username.>>> val.isDiscordUsername('test#1234') True