add the emoji name requirement to "Carp" and "Capy"
parent
395bda1400
commit
2167de2624
|
@ -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"):
|
||||
|
|
Loading…
Reference in New Issue