add the emoji name requirement to "Carp" and "Capy"

pull/157/head
Aevann 2023-06-22 19:33:46 +03:00
parent 395bda1400
commit 2167de2624
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ def submit_emoji(v:User):
if kind not in EMOJI_KINDS:
return error("Invalid emoji kind!")
if kind in {"Marsey", "Platy", "Wolf", "Tay"} and not name.startswith(kind.lower()):
if kind in {"Marsey", "Platy", "Wolf", "Tay", "Carp", "Capy"} and not name.startswith(kind.lower()):
return error(f'The name of this emoji should start with the word "{kind.lower()}"')
if kind == "Marsey Flags" and not name.startswith("marseyflag"):