diff --git a/litecord/schemas.py b/litecord/schemas.py index 3469784..96cbe97 100644 --- a/litecord/schemas.py +++ b/litecord/schemas.py @@ -158,6 +158,8 @@ class LitecordValidator(Validator): def _validate_type_channel_name(self, value: str) -> bool: # for now, we'll use the same validation for guild_name + if value.endswith("-"): + value[-1] = "" return self._validate_type_guild_name(value) def _validate_type_theme(self, value: str) -> bool: