Only allow specific server features to be edited

This commit is contained in:
Madeline
2022-12-05 20:02:34 +11:00
parent fbde8f978b
commit d8b3e95942
2 changed files with 27 additions and 0 deletions
+5
View File
@@ -1043,6 +1043,11 @@ export const FosscordApiErrors = {
45006,
501,
),
FEATURE_IS_IMMUTABLE : new ApiError(
"The feature ({}) cannot be edited.",
45007,
403,
),
MISSING_RIGHTS: new ApiError(
"You lack rights to perform that action ({})",
50013,