mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix: check member/group limits before creating
This commit is contained in:
parent
29b28ba742
commit
e1a5310a3a
3 changed files with 15 additions and 2 deletions
|
|
@ -94,6 +94,8 @@ namespace PluralKit.API
|
|||
public static PKError SameSwitchMembersError = new(400, 40004, "Member list identical to current fronter list.");
|
||||
public static PKError SameSwitchTimestampError = new(400, 40005, "Switch with provided timestamp already exists.");
|
||||
public static PKError InvalidSwitchId = new(400, 40006, "Invalid switch ID.");
|
||||
public static PKError MemberLimitReached = new(400, 40007, "Member limit reached.");
|
||||
public static PKError GroupLimitReached = new(400, 40008, "Group limit reached.");
|
||||
public static PKError Unimplemented = new(501, 50001, "Unimplemented");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue