mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 14:27:54 +00:00
lint/fixes, add group patch validation
This commit is contained in:
parent
bc2c198a82
commit
c472a7f6df
6 changed files with 20 additions and 12 deletions
|
|
@ -56,7 +56,7 @@ namespace PluralKit.Core
|
|||
public new void AssertIsValid()
|
||||
{
|
||||
if (Name.IsPresent)
|
||||
AssertValid(Name.Value, "display_name", Limits.MaxMemberNameLength);
|
||||
AssertValid(Name.Value, "name", Limits.MaxMemberNameLength);
|
||||
if (DisplayName.Value != null)
|
||||
AssertValid(DisplayName.Value, "display_name", Limits.MaxMemberNameLength);
|
||||
if (AvatarUrl.Value != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue