Enforce group count limit on creation

This commit is contained in:
Ske
2020-07-18 13:30:54 +02:00
parent f47d366c8d
commit 47d5ad0004
2 changed files with 8 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ namespace PluralKit.Core {
public static readonly int MaxSystemTagLength = MaxProxyNameLength - 1;
public static readonly int MaxMemberCount = 1500;
public static readonly int MaxMembersWarnThreshold = MaxMemberCount - 50;
public static readonly int MaxGroupCount = 50; // TODO: up to 100+?
public static readonly int MaxDescriptionLength = 1000;
public static readonly int MaxMemberNameLength = 100; // Fair bit larger than MaxProxyNameLength for bookkeeping
public static readonly int MaxGroupNameLength = 100;