From 7a15c9786333fb6f2259f42536cfbf2cf0e43db8 Mon Sep 17 00:00:00 2001 From: Jupith <51760248+Jupith@users.noreply.github.com> Date: Fri, 5 Nov 2021 23:52:50 +0000 Subject: [PATCH] feat: add maze api error (#228) Co-authored-by: Vlad Frangu --- deno/rest/common.ts | 4 ++-- rest/common.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deno/rest/common.ts b/deno/rest/common.ts index 41bb7725..ea445c94 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -62,8 +62,8 @@ export enum RESTJSONErrorCodes { NotAuthorizedToPerformThisActionOnThisApplication = 20012, ActionCannotBePerformedDueToSlowmodeRateLimit = 20016, - - OnlyTheOwnerOfThisAccountCanPerformThisAction = 20018, + TheMazeIsntMeantForYou, + OnlyTheOwnerOfThisAccountCanPerformThisAction, AnnouncementEditLimitExceeded = 20022, diff --git a/rest/common.ts b/rest/common.ts index ba3a30d3..8def0fe7 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -62,8 +62,8 @@ export const enum RESTJSONErrorCodes { NotAuthorizedToPerformThisActionOnThisApplication = 20012, ActionCannotBePerformedDueToSlowmodeRateLimit = 20016, - - OnlyTheOwnerOfThisAccountCanPerformThisAction = 20018, + TheMazeIsntMeantForYou, + OnlyTheOwnerOfThisAccountCanPerformThisAction, AnnouncementEditLimitExceeded = 20022,