From fde54949308a14f07daee01d9d6898543147e4b5 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Mon, 5 Dec 2022 19:50:16 +1100 Subject: Only allow specific server features to be edited --- src/util/util/Constants.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/util') diff --git a/src/util/util/Constants.ts b/src/util/util/Constants.ts index 46cf2e4f..b84a8178 100644 --- a/src/util/util/Constants.ts +++ b/src/util/util/Constants.ts @@ -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, -- cgit 1.5.1