From 390b8a8f5c19dae143f3fd7df417b45d8c77a998 Mon Sep 17 00:00:00 2001 From: NoComment Date: Sat, 1 Apr 2023 11:08:08 +0100 Subject: [PATCH] Add error code 50163 --- rest/api/rest.api | 1 + rest/src/main/kotlin/json/JsonErrorCode.kt | 3 +++ 2 files changed, 4 insertions(+) diff --git a/rest/api/rest.api b/rest/api/rest.api index 1472010a5ec2..66a852ecd3d3 100644 --- a/rest/api/rest.api +++ b/rest/api/rest.api @@ -2436,6 +2436,7 @@ public final class dev/kord/rest/json/JsonErrorCode : java/lang/Enum { public static final field BotsEndpoint Ldev/kord/rest/json/JsonErrorCode; public static final field BulkDeleteOldMessage Ldev/kord/rest/json/JsonErrorCode; public static final field CannotConvertBetweenPremiumAndNormalEmoji Ldev/kord/rest/json/JsonErrorCode; + public static final field CannotDeleteGuildSubscriptionIntegration Ldev/kord/rest/json/JsonErrorCode; public static final field CannotDeleteRequiredCommunityChannel Ldev/kord/rest/json/JsonErrorCode; public static final field CannotEditMessageByAnotherUser Ldev/kord/rest/json/JsonErrorCode; public static final field CannotEditStickersWithinMessage Ldev/kord/rest/json/JsonErrorCode; diff --git a/rest/src/main/kotlin/json/JsonErrorCode.kt b/rest/src/main/kotlin/json/JsonErrorCode.kt index be9fd8844b6a..5b0372425dae 100644 --- a/rest/src/main/kotlin/json/JsonErrorCode.kt +++ b/rest/src/main/kotlin/json/JsonErrorCode.kt @@ -512,6 +512,9 @@ public enum class JsonErrorCode(public val code: Int) { /** Uploaded file not found. */ UnknownUpload(50146), + /** Cannot delete guild subscription integration. */ + CannotDeleteGuildSubscriptionIntegration(50163), + /** You do not have permission to send this sticker. */ StickerPermissionLack(50600),