Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

chore(admin): remove user type toggles (#3161)

Hampus7fa00c0e8972
diff --git a/fluxer_admin/openapi-admin.json b/fluxer_admin/openapi-admin.json
index ddd82fd4b..3657902ef 100644
--- a/fluxer_admin/openapi-admin.json
+++ b/fluxer_admin/openapi-admin.json
@@ -6137,72 +6137,6 @@
}
}
},
- "/admin/users/{user_id}/bot-status": {
- "put": {
- "operationId": "set_admin_user_bot_status",
- "summary": "Set user bot status",
- "tags": ["Admin"],
- "responses": {
- "200": {
- "description": "Success",
- "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UserMutationResponse"}}}
- },
- "400": {
- "description": "Bad Request - The request was malformed or contained invalid data",
- "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}
- },
- "401": {
- "description": "Unauthorized - Authentication is required or the token is invalid",
- "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}
- },
- "403": {
- "description": "Forbidden - You do not have permission to perform this action",
- "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}
- },
- "429": {
- "description": "Too Many Requests - You are being rate limited",
- "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ThrottledError"}}},
- "headers": {
- "Retry-After": {
- "description": "Number of seconds to wait before retrying (only on 429)",
- "schema": {"type": "integer"}
- },
- "X-RateLimit-Limit": {
- "description": "The number of requests that can be made in the current window",
- "schema": {"type": "integer"}
- },
- "X-RateLimit-Remaining": {
- "description": "The number of remaining requests that can be made",
- "schema": {"type": "integer"}
- },
- "X-RateLimit-Reset": {
- "description": "Unix timestamp when the rate limit resets",
- "schema": {"type": "integer"}
- }
- }
- },
- "500": {
- "description": "Internal Server Error - An unexpected error occurred",
- "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}
- }
- },
- "description": "Mark or unmark a user account as a bot. Controls bot badge visibility and API permissions. Creates audit log entry. Requires USER_UPDATE_BOT_STATUS permission.",
- "security": [{"adminApiKey": []}],
- "parameters": [
- {
- "name": "user_id",
- "in": "path",
- "required": true,
- "schema": {"description": "The ID of the user", "allOf": [{"$ref": "#/components/schemas/SnowflakeType"}]},
- "description": "The ID of the user"
- }
- ],
- "requestBody": {
- "required": true,
- "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AdminUserBotStatusRequest"}}}
- }
- }
- },
"/admin/users/{user_id}/change-log": {
"get": {
"operationId": "list_admin_user_change_log",
@@ -7783,72 +7717,6 @@
]
}
},
- "/admin/users/{user_id}/system-status": {
- "put": {
- "operationId": "set_admin_user_system_status",
- "summary": "Set user system status",
- "tags": ["Admin"],
- "responses": {
- "200": {
- "description": "Success",
- "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UserMutationResponse"}}}
- },
- "400": {
- "description": "Bad Request - The request was malformed or contained invalid data",
- "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}
- },
- "401": {
- "description": "Unauthorized - Authentication is required or the token is invalid",
- "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}
- },
- "403": {
- "description": "Forbidden - You do not have permission to perform this action",
- "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}
- },
- "429": {
- "description": "Too Many Requests - You are being rate limited",
- "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ThrottledError"}}},
- "headers": {
- "Retry-After": {
- "description": "Number of seconds to wait before retrying (only on 429)",
- "schema": {"type": "integer"}
- },
- "X-RateLimit-Limit": {
- "description": "The number of requests that can be made in the current window",
- "schema": {"type": "integer"}
- },
- "X-RateLimit-Remaining": {
- "description": "The number of remaining requests that can be made",
- "schema": {"type": "integer"}
- },
- "X-RateLimit-Reset": {
- "description": "Unix timestamp when the rate limit resets",
- "schema": {"type": "integer"}
- }
- }
- },
- "500": {
- "description": "Internal Server Error - An unexpected error occurred",
- "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}
- }
- },
- "description": "Mark or unmark a user as a system account. System accounts have special permissions for automated operations. Creates audit log entry. Requires USER_UPDATE_BOT_STATUS permission.",
- "security": [{"adminApiKey": []}],
- "parameters": [
- {
- "name": "user_id",
- "in": "path",
- "required": true,
- "schema": {"description": "The ID of the user", "allOf": [{"$ref": "#/components/schemas/SnowflakeType"}]},
- "description": "The ID of the user"
- }
- ],
- "requestBody": {
- "required": true,
- "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AdminUserSystemStatusRequest"}}}
- }
- }
- },
"/admin/users/{user_id}/traits": {
"put": {
"operationId": "set_admin_user_traits",
@@ -9295,13 +9163,6 @@
},
"required": ["traits"]
},
- "AdminUserSystemStatusRequest": {
- "type": "object",
- "properties": {
- "system": {"type": "boolean", "description": "Whether the user should be marked as a system user"}
- },
- "required": ["system"]
- },
"AdminStorePurchaseListResponse": {
"type": "object",
"properties": {
@@ -9752,11 +9613,6 @@
"required": ["entries", "next_page_token"],
"additionalProperties": false
},
- "AdminUserBotStatusRequest": {
- "type": "object",
- "properties": {"bot": {"type": "boolean", "description": "Whether the user should be marked as a bot"}},
- "required": ["bot"]
- },
"AdminUserBanNoteRequest": {
"type": "object",
"properties": {
@@ -9871,7 +9727,7 @@
"type": "object",
"properties": {
"acls": {
- "maxItems": 104,
+ "maxItems": 103,
"type": "array",
"items": {"$ref": "#/components/schemas/AdminAclType"},
"description": "List of access control permissions to assign"
@@ -12729,7 +12585,7 @@
},
"acls": {
"description": "Replacement list of access control permissions for the key",
- "maxItems": 104,
+ "maxItems": 103,
"type": "array",
"items": {"$ref": "#/components/schemas/AdminAclType"}
}
@@ -12747,7 +12603,7 @@
"type": "string"
},
"acls": {
- "maxItems": 104,
+ "maxItems": 103,
"type": "array",
"items": {"type": "string"},
"description": "List of access control permissions for the key"
@@ -12777,7 +12633,7 @@
"maximum": 365
},
"acls": {
- "maxItems": 104,
+ "maxItems": 103,
"type": "array",
"items": {"$ref": "#/components/schemas/AdminAclType"},
"description": "List of access control permissions for the key"
@@ -12798,7 +12654,7 @@
"type": "string"
},
"acls": {
- "maxItems": 104,
+ "maxItems": 103,
"type": "array",
"items": {"type": "string"},
"description": "List of access control permissions for the key"
@@ -12811,7 +12667,7 @@
"type": "object",
"properties": {
"acls": {
- "maxItems": 104,
+ "maxItems": 103,
"type": "array",
"items": {"type": "string", "minLength": 1, "maxLength": 64},
"description": "Every admin access control permission the admin API recognises"
@@ -12911,7 +12767,6 @@
"user:view:email",
"user:view:ip",
"user:temp_ban",
- "user:update:bot_status",
"user:update:dob",
"user:update:email",
"user:update:flags",
@@ -15629,7 +15484,7 @@
"description": "ISO 8601 timestamp when the pending deletion was scheduled",
"type": "string"
},
- "acls": {"maxItems": 104, "type": "array", "items": {"type": "string"}},
+ "acls": {"maxItems": 103, "type": "array", "items": {"type": "string"}},
"traits": {"maxItems": 100, "type": "array", "items": {"type": "string"}},
"has_totp": {"type": "boolean"},
"authenticator_types": {"maxItems": 10, "type": "array", "items": {"$ref": "#/components/schemas/Int32Type"}},
diff --git a/fluxer_admin/src/acl.rs b/fluxer_admin/src/acl.rs
index 99d77154c..ffa6cec63 100644
--- a/fluxer_admin/src/acl.rs
+++ b/fluxer_admin/src/acl.rs
@@ -88,7 +88,6 @@ pub const USER_VIEW_DOB: &str = "user:view:dob";
pub const USER_VIEW_EMAIL: &str = "user:view:email";
pub const USER_VIEW_IP: &str = "user:view:ip";
pub const USER_TEMP_BAN: &str = "user:temp_ban";
-pub const USER_UPDATE_BOT_STATUS: &str = "user:update:bot_status";
pub const USER_UPDATE_DOB: &str = "user:update:dob";
pub const USER_UPDATE_EMAIL: &str = "user:update:email";
pub const USER_UPDATE_FLAGS: &str = "user:update:flags";
@@ -193,7 +192,6 @@ pub const ALL_ACLS: &[&str] = &[
USER_VIEW_EMAIL,
USER_VIEW_IP,
USER_TEMP_BAN,
- USER_UPDATE_BOT_STATUS,
USER_UPDATE_DOB,
USER_UPDATE_EMAIL,
USER_UPDATE_FLAGS,
diff --git a/fluxer_admin/src/api/users.rs b/fluxer_admin/src/api/users.rs
index c317709d5..223e88154 100644
--- a/fluxer_admin/src/api/users.rs
+++ b/fluxer_admin/src/api/users.rs
@@ -305,28 +305,6 @@ impl AdminApiClient {
Ok(resp.user)
}
- pub async fn set_bot_status(&self, user_id: &str, is_bot: bool) -> ApiResult<AdminUser> {
- let body = generated_types::AdminUserBotStatusRequest { bot: is_bot };
- let response = self
- .generated()
- .set_admin_user_bot_status(&snowflake(user_id), &body)
- .await
- .map_err(|e| self.generated_error(e))?;
- let resp: UserMutationResponse = self.generated_value(response.into_inner())?;
- Ok(resp.user)
- }
-
- pub async fn set_system_status(&self, user_id: &str, is_system: bool) -> ApiResult<AdminUser> {
- let body = generated_types::AdminUserSystemStatusRequest { system: is_system };
- let response = self
- .generated()
- .set_admin_user_system_status(&snowflake(user_id), &body)
- .await
- .map_err(|e| self.generated_error(e))?;
- let resp: UserMutationResponse = self.generated_value(response.into_inner())?;
- Ok(resp.user)
- }
-
pub async fn change_username(
&self,
user_id: &str,
diff --git a/fluxer_admin/src/routes/user_actions.rs b/fluxer_admin/src/routes/user_actions.rs
index ef3b900be..e7bb09bdd 100644
--- a/fluxer_admin/src/routes/user_actions.rs
+++ b/fluxer_admin/src/routes/user_actions.rs
@@ -178,22 +178,6 @@ pub async fn dispatch(
"Failed to clear user fields",
)
}
- "set_bot_status" => {
- let val = form.bool_value("bot");
- DispatchOutcome::from_result(
- client.set_bot_status(user_id, val).await,
- "Bot status updated successfully",
- "Failed to update bot status",
- )
- }
- "set_system_status" => {
- let val = form.bool_value("system");
- DispatchOutcome::from_result(
- client.set_system_status(user_id, val).await,
- "System status updated successfully",
- "Failed to update system status",
- )
- }
"change_username" => {
let Some(username) = get("username") else {
return DispatchOutcome::error("Username is required");
diff --git a/fluxer_admin/src/templates/pages/user_detail_tabs/account.rs b/fluxer_admin/src/templates/pages/user_detail_tabs/account.rs
index 316036fe0..3d1228ea5 100644
--- a/fluxer_admin/src/templates/pages/user_detail_tabs/account.rs
+++ b/fluxer_admin/src/templates/pages/user_detail_tabs/account.rs
@@ -31,7 +31,6 @@ pub fn account_tab(
(sessions_card(config, sessions))
(quick_actions_card(base, user, csrf_token))
(clear_fields_card(base, user, csrf_token))
- (user_status_card(base, user, csrf_token))
(security_actions_card(base, user, csrf_token))
(webauthn_credentials_card(base, user, webauthn_credentials, csrf_token))
}
@@ -204,19 +203,6 @@ fn clear_fields_card(base: &str, user: &AdminUser, csrf_token: &str) -> Markup {
}
}
-fn user_status_card(base: &str, user: &AdminUser, csrf_token: &str) -> Markup {
- let is_bot = user.bot;
- let is_sys = user.system;
- html! {
- (card_with_header("User Status", html! {
- div class="grid grid-cols-1 gap-4 md:grid-cols-2" {
- (status_toggle(base, &user.id, "set_bot_status", is_bot, "bot", csrf_token))
- (status_toggle(base, &user.id, "set_system_status", is_sys, "system", csrf_token))
- }
- }))
- }
-}
-
fn security_actions_card(base: &str, user: &AdminUser, csrf_token: &str) -> Markup {
html! {
(card_with_header("Security Actions", html! {
@@ -357,40 +343,3 @@ fn action_form(
}
}
}
-
-fn status_toggle(
- base: &str,
- uid: &str,
- action: &str,
- active: bool,
- kind: &str,
- csrf: &str,
-) -> Markup {
- let status_val = if active { "false" } else { "true" };
- let label = format!(
- "{} {} Status",
- if active { "Remove" } else { "Set" },
- capitalize(kind)
- );
- let action_url = format!("{base}/users/{uid}?action={action}&status={status_val}&tab=account");
- html! {
- form method="post"
- action=(&action_url)
- hx-post=(&action_url)
- hx-target="#flash-container"
- hx-swap="none"
- hx-push-url="false" {
- (csrf_input(csrf))
- input type="hidden" name=(kind) value=(status_val);
- button type="submit" class=(BTN_CLS) { (label) }
- }
- }
-}
-
-fn capitalize(s: &str) -> String {
- let mut c = s.chars();
- match c.next() {
- None => String::new(),
- Some(f) => f.to_uppercase().chain(c).collect(),
- }
-}
diff --git a/fluxer_admin/src/templates/pages/user_detail_tabs/overview.rs b/fluxer_admin/src/templates/pages/user_detail_tabs/overview.rs
index e2c18dd7a..e34b19d4d 100644
--- a/fluxer_admin/src/templates/pages/user_detail_tabs/overview.rs
+++ b/fluxer_admin/src/templates/pages/user_detail_tabs/overview.rs
@@ -431,11 +431,6 @@ fn acls_card(
(flag_checkbox("acls[]", item.to_string(), item, checked, true))
}
}
- @for item in &user.acls {
- @if !acl::ALL_ACLS.iter().any(|known| known == &item.as_str()) {
- input type="hidden" name="acls[]" value=(item);
- }
- }
(form_actions(html! {
(submit_button("Save ACLs"))
}))
diff --git a/fluxer_api/src/api/admin/controllers/AdminApiKeyAdminController.ts b/fluxer_api/src/api/admin/controllers/AdminApiKeyAdminController.ts
index f8a3378e7..25cb45b6b 100644
--- a/fluxer_api/src/api/admin/controllers/AdminApiKeyAdminController.ts
+++ b/fluxer_api/src/api/admin/controllers/AdminApiKeyAdminController.ts
@@ -9,7 +9,7 @@ import {OpenAPI} from '@app/api/middleware/ResponseTypeMiddleware';
import {RateLimitConfigs} from '@app/api/RateLimitConfig';
import type {HonoApp} from '@app/api/types/HonoEnv';
import {Validator} from '@app/api/Validator';
-import {AdminACLs} from '@fluxer/constants/src/AdminACLs';
+import {AdminACLs, filterKnownAdminACLs} from '@fluxer/constants/src/AdminACLs';
import {
AdminApiKeyListResponse,
CreateAdminApiKeyRequest,
@@ -30,7 +30,7 @@ function toApiKeyResponse(key: AdminApiKeyView): ListAdminApiKeyResponseType {
last_used_at: key.lastUsedAt?.toISOString() ?? null,
expires_at: key.expiresAt?.toISOString() ?? null,
created_by_user_id: String(key.createdById),
- acls: Array.from(key.acls),
+ acls: filterKnownAdminACLs(key.acls),
};
}
@@ -62,7 +62,7 @@ export function AdminApiKeyAdminController(app: HonoApp) {
name: result.apiKey.name,
created_at: result.apiKey.createdAt.toISOString(),
expires_at: result.apiKey.expiresAt?.toISOString() ?? null,
- acls: Array.from(result.apiKey.acls),
+ acls: filterKnownAdminACLs(result.apiKey.acls),
};
await recordAdminWrite(ctx, {
targetType: 'admin_api_key',
diff --git a/fluxer_api/src/api/admin/controllers/UserAdminController.ts b/fluxer_api/src/api/admin/controllers/UserAdminController.ts
index 6106dfb28..4b566b276 100644
--- a/fluxer_api/src/api/admin/controllers/UserAdminController.ts
+++ b/fluxer_api/src/api/admin/controllers/UserAdminController.ts
@@ -19,7 +19,6 @@ import {
AdminUserAclsRequest,
AdminUserBanNoteRequest,
AdminUserBanRequest,
- AdminUserBotStatusRequest,
AdminUserChangeLogQuery,
AdminUserClearFieldsRequest,
AdminUserDeletionCancelRequest,
@@ -34,7 +33,6 @@ import {
AdminUserPremiumFlagsUpdateRequest,
AdminUserRelationshipCategoryQuery,
AdminUserRelationshipParam,
- AdminUserSystemStatusRequest,
AdminUsersMeResponse,
AdminUserTraitsRequest,
AdminUserUnbanRequest,
@@ -598,70 +596,6 @@ export function UserAdminController(app: HonoApp) {
);
},
);
- app.put(
- '/admin/users/:user_id/bot-status',
- RateLimitMiddleware(RateLimitConfigs.ADMIN_USER_MODIFY),
- requireAdminACL(AdminACLs.USER_UPDATE_BOT_STATUS),
- Validator('param', UserIdParam),
- Validator('json', AdminUserBotStatusRequest),
- OpenAPI({
- operationId: 'set_admin_user_bot_status',
- summary: 'Set user bot status',
- responseSchema: UserMutationResponse,
- statusCode: 200,
- security: 'adminApiKey',
- tags: 'Admin',
- description:
- 'Mark or unmark a user account as a bot. Controls bot badge visibility and API permissions. Creates audit log entry. Requires USER_UPDATE_BOT_STATUS permission.',
- }),
- async (ctx) => {
- const adminService = ctx.get('adminService');
- const adminUserId = ctx.get('adminUserId');
- const auditLogReason = ctx.get('auditLogReason');
- const adminUserAcls = ctx.get('adminUserAcls');
- const {user_id: userId} = ctx.req.valid('param');
- return ctx.json(
- await adminService.userService.profileService.setUserBotStatus(
- {user_id: userId, ...ctx.req.valid('json')},
- adminUserId,
- auditLogReason,
- adminUserAcls,
- ),
- );
- },
- );
- app.put(
- '/admin/users/:user_id/system-status',
- RateLimitMiddleware(RateLimitConfigs.ADMIN_USER_MODIFY),
- requireAdminACL(AdminACLs.USER_UPDATE_BOT_STATUS),
- Validator('param', UserIdParam),
- Validator('json', AdminUserSystemStatusRequest),
- OpenAPI({
- operationId: 'set_admin_user_system_status',
- summary: 'Set user system status',
- responseSchema: UserMutationResponse,
- statusCode: 200,
- security: 'adminApiKey',
- tags: 'Admin',
- description:
- 'Mark or unmark a user as a system account. System accounts have special permissions for automated operations. Creates audit log entry. Requires USER_UPDATE_BOT_STATUS permission.',
- }),
- async (ctx) => {
- const adminService = ctx.get('adminService');
- const adminUserId = ctx.get('adminUserId');
- const auditLogReason = ctx.get('auditLogReason');
- const adminUserAcls = ctx.get('adminUserAcls');
- const {user_id: userId} = ctx.req.valid('param');
- return ctx.json(
- await adminService.userService.profileService.setUserSystemStatus(
- {user_id: userId, ...ctx.req.valid('json')},
- adminUserId,
- auditLogReason,
- adminUserAcls,
- ),
- );
- },
- );
app.patch(
'/admin/users/:user_id/username',
RateLimitMiddleware(RateLimitConfigs.ADMIN_USER_MODIFY),
diff --git a/fluxer_api/src/api/admin/models/UserTypes.ts b/fluxer_api/src/api/admin/models/UserTypes.ts
index 2efe869a1..87a1ffa09 100644
--- a/fluxer_api/src/api/admin/models/UserTypes.ts
+++ b/fluxer_api/src/api/admin/models/UserTypes.ts
@@ -2,7 +2,7 @@
import type {User} from '@app/api/models/User';
import {getIpAddressReverse, lookupGeoip} from '@app/api/utils/IpUtils';
-import {AdminACLs} from '@fluxer/constants/src/AdminACLs';
+import {AdminACLs, filterKnownAdminACLs} from '@fluxer/constants/src/AdminACLs';
import type {UserAdminResponse} from '@fluxer/schema/src/domains/admin/AdminUserSchemas';
import type {ICacheService} from '@pkgs/cache/src/ICacheService';
import {formatGeoipLocation} from '@pkgs/geoip/src/GeoipLookup';
@@ -65,7 +65,7 @@ export async function mapUserToAdminResponse(
deletion_audit_log_reason: canViewAuditLog ? user.deletionAuditLogReason : null,
deletion_scheduled_by: user.deletionScheduledBy?.toString() ?? null,
deletion_scheduled_at: user.deletionScheduledAt?.toISOString() ?? null,
- acls: user.acls ? Array.from(user.acls) : [],
+ acls: user.acls ? filterKnownAdminACLs(user.acls) : [],
traits: Array.from(user.traits).sort(),
has_totp: user.totpSecret !== null,
authenticator_types: user.authenticatorTypes ? Array.from(user.authenticatorTypes) : [],
diff --git a/fluxer_api/src/api/admin/services/AdminUserProfileService.ts b/fluxer_api/src/api/admin/services/AdminUserProfileService.ts
index c6a2af011..f0c88921f 100644
--- a/fluxer_api/src/api/admin/services/AdminUserProfileService.ts
+++ b/fluxer_api/src/api/admin/services/AdminUserProfileService.ts
@@ -11,9 +11,6 @@ import type {IDiscriminatorService} from '@app/api/infrastructure/DiscriminatorS
import type {EntityAssetService, PreparedAssetUpload} from '@app/api/infrastructure/EntityAssetService';
import {Logger} from '@app/api/Logger';
import type {User} from '@app/api/models/User';
-import {ValidationErrorCodes} from '@fluxer/constants/src/ValidationErrorCodes';
-import {AccessDeniedError} from '@fluxer/errors/src/domains/core/AccessDeniedError';
-import {InputValidationError} from '@fluxer/errors/src/domains/core/InputValidationError';
import {TagAlreadyTakenError} from '@fluxer/errors/src/domains/user/TagAlreadyTakenError';
import {UnknownUserError} from '@fluxer/errors/src/domains/user/UnknownUserError';
import type {
@@ -21,8 +18,6 @@ import type {
ChangeEmailRequest,
ChangeUsernameRequest,
ClearUserFieldsRequest,
- SetUserBotStatusRequest,
- SetUserSystemStatusRequest,
VerifyUserEmailRequest,
} from '@fluxer/schema/src/domains/admin/AdminUserSchemas';
import {types} from 'cassandra-driver';
@@ -105,75 +100,6 @@ export class AdminUserProfileService {
};
}
- async setUserBotStatus(
- data: SetUserBotStatusRequest,
- adminUserId: UserID,
- auditLogReason: string | null,
- acls: ReadonlySet<string>,
- ) {
- const {users: userRepository, cache: cacheService} = this.deps.apiContext.services;
- const {auditService, updatePropagator} = this.deps;
- const userId = createUserID(data.user_id);
- const user = await userRepository.findUnique(userId);
- if (!user) {
- throw new UnknownUserError();
- }
- if (data.bot && user.acls.size > 0) {
- throw new AccessDeniedError();
- }
- const updates: Record<string, boolean> = {bot: data.bot};
- if (!data.bot) {
- updates['system'] = false;
- }
- const updatedUser = await userRepository.patchUpsert(userId, updates, user.toRow());
- await updatePropagator.propagateUserUpdate({userId, oldUser: user, updatedUser: updatedUser});
- await auditService.createAuditLog({
- adminUserId,
- targetType: 'user',
- targetId: BigInt(userId),
- action: 'set_bot_status',
- auditLogReason,
- metadata: new Map([['bot', data.bot.toString()]]),
- });
- return {
- user: await mapUserToAdminResponse(updatedUser, cacheService, acls),
- };
- }
-
- async setUserSystemStatus(
- data: SetUserSystemStatusRequest,
- adminUserId: UserID,
- auditLogReason: string | null,
- acls: ReadonlySet<string>,
- ) {
- const {users: userRepository, cache: cacheService} = this.deps.apiContext.services;
- const {auditService, updatePropagator} = this.deps;
- const userId = createUserID(data.user_id);
- const user = await userRepository.findUnique(userId);
- if (!user) {
- throw new UnknownUserError();
- }
- if (data.system && !user.isBot) {
- throw InputValidationError.fromCode(
- 'system',
- ValidationErrorCodes.USER_MUST_BE_A_BOT_TO_BE_MARKED_AS_A_SYSTEM_USER,
- );
- }
- const updatedUser = await userRepository.patchUpsert(userId, {system: data.system}, user.toRow());
- await updatePropagator.propagateUserUpdate({userId, oldUser: user, updatedUser: updatedUser});
- await auditService.createAuditLog({
- adminUserId,
- targetType: 'user',
- targetId: BigInt(userId),
- action: 'set_system_status',
- auditLogReason,
- metadata: new Map([['system', data.system.toString()]]),
- });
- return {
- user: await mapUserToAdminResponse(updatedUser, cacheService, acls),
- };
- }
-
async verifyUserEmail(
data: VerifyUserEmailRequest,
adminUserId: UserID,
diff --git a/fluxer_api/src/api/admin/tests/AdminEndpointsAuthorization.test.ts b/fluxer_api/src/api/admin/tests/AdminEndpointsAuthorization.test.ts
index c3e6f1377..bbcb41450 100644
--- a/fluxer_api/src/api/admin/tests/AdminEndpointsAuthorization.test.ts
+++ b/fluxer_api/src/api/admin/tests/AdminEndpointsAuthorization.test.ts
@@ -78,7 +78,6 @@ const adminEndpoints: Array<AdminEndpointCase> = [
{method: 'GET', path: '/admin/users/1/webauthn-credentials', requiredACL: 'user:update:mfa'},
{method: 'DELETE', path: '/admin/users/1/webauthn-credentials/credential', requiredACL: 'user:update:mfa'},
{method: 'DELETE', path: '/admin/users/1/profile-fields', requiredACL: 'user:update:profile'},
- {method: 'PUT', path: '/admin/users/1/bot-status', requiredACL: 'user:update:bot_status'},
{method: 'PUT', path: '/admin/users/1/acls', requiredACL: 'acl:set:user'},
{method: 'PUT', path: '/admin/users/1/deletion', requiredACL: 'user:delete'},
{method: 'POST', path: '/admin/users/1/avatar-block', requiredACL: 'ban:avatar_hash:add'},
diff --git a/fluxer_api/src/api/admin/tests/AdminSetUserAclsValidation.test.ts b/fluxer_api/src/api/admin/tests/AdminSetUserAclsValidation.test.ts
index 11b2dac2d..31ee2206b 100644
--- a/fluxer_api/src/api/admin/tests/AdminSetUserAclsValidation.test.ts
+++ b/fluxer_api/src/api/admin/tests/AdminSetUserAclsValidation.test.ts
@@ -21,6 +21,8 @@ interface AdminUserLookupResponse {
}>;
}
+const RETIRED_ACL = 'retired:acl';
+
describe('Admin set user ACLs validation', () => {
let harness: ApiTestHarness;
beforeAll(async () => {
@@ -69,4 +71,43 @@ describe('Admin set user ACLs validation', () => {
.execute();
expect(lookup.users[0]!.acls).toEqual([AdminACLs.USER_LOOKUP]);
});
+ test('lists only registry values when a retired ACL is stored', async () => {
+ const admin = await setUserACLs(harness, await createTestAccount(harness), [
+ AdminACLs.AUTHENTICATE,
+ AdminACLs.USER_LOOKUP,
+ ]);
+ const target = await setUserACLs(harness, await createTestAccount(harness), [AdminACLs.USER_LOOKUP, RETIRED_ACL]);
+ const lookup = await createBuilder<AdminUserLookupResponse>(harness, `${admin.token}`)
+ .get(`/admin/users/${target.userId}`)
+ .expect(HTTP_STATUS.OK)
+ .execute();
+ expect(lookup.users[0]!.acls).toEqual([AdminACLs.USER_LOOKUP]);
+ });
+ test('saves ACLs for an account that holds a retired ACL', async () => {
+ const admin = await setUserACLs(harness, await createTestAccount(harness), [
+ AdminACLs.AUTHENTICATE,
+ AdminACLs.ACL_SET_USER,
+ AdminACLs.USER_LOOKUP,
+ AdminACLs.USER_VIEW_EMAIL,
+ ]);
+ const target = await setUserACLs(harness, await createTestAccount(harness), [AdminACLs.USER_LOOKUP, RETIRED_ACL]);
+ const result = await createBuilder<AdminUserMutationResponse>(harness, `${admin.token}`)
+ .put(`/admin/users/${target.userId}/acls`)
+ .body({acls: [AdminACLs.USER_LOOKUP, AdminACLs.USER_VIEW_EMAIL]})
+ .expect(HTTP_STATUS.OK)
+ .execute();
+ expect(result.user.acls.sort()).toEqual([AdminACLs.USER_LOOKUP, AdminACLs.USER_VIEW_EMAIL].sort());
+ });
+ test('returns the current admin when every registry ACL and a retired ACL are stored', async () => {
+ const admin = await setUserACLs(harness, await createTestAccount(harness), [
+ ...Object.values(AdminACLs),
+ RETIRED_ACL,
+ ]);
+ const me = await createBuilder<AdminUserMutationResponse>(harness, `${admin.token}`)
+ .get('/admin/users/@me')
+ .expect(HTTP_STATUS.OK)
+ .execute();
+ expect(me.user.acls).toHaveLength(Object.values(AdminACLs).length);
+ expect(me.user.acls).not.toContain(RETIRED_ACL);
+ });
});
diff --git a/fluxer_api/src/api/admin/tests/AdminSyntheticUserMutations.test.ts b/fluxer_api/src/api/admin/tests/AdminSyntheticUserMutations.test.ts
index a3113b5e4..9074b723f 100644
--- a/fluxer_api/src/api/admin/tests/AdminSyntheticUserMutations.test.ts
+++ b/fluxer_api/src/api/admin/tests/AdminSyntheticUserMutations.test.ts
@@ -20,8 +20,6 @@ const MUTATIONS: Array<{verb: 'put' | 'patch' | 'delete'; path: string; acl: str
{verb: 'put', path: 'ban', acl: AdminACLs.USER_TEMP_BAN, body: {duration_hours: 1, reason: 'test'}},
{verb: 'put', path: 'deletion', acl: AdminACLs.USER_DELETE, body: {delay_days: 1}},
{verb: 'delete', path: 'profile-fields', acl: AdminACLs.USER_UPDATE_PROFILE, body: {fields: ['bio']}},
- {verb: 'put', path: 'bot-status', acl: AdminACLs.USER_UPDATE_BOT_STATUS, body: {bot: true}},
- {verb: 'put', path: 'system-status', acl: AdminACLs.USER_UPDATE_BOT_STATUS, body: {system: true}},
];
const CASES = SYNTHETIC_USER_IDS.flatMap((userId) =>
diff --git a/fluxer_api/src/api/admin/tests/audit_coverage/UserWriteAdminAuditCases.ts b/fluxer_api/src/api/admin/tests/audit_coverage/UserWriteAdminAuditCases.ts
index 6500e5516..d9dfe1bac 100644
--- a/fluxer_api/src/api/admin/tests/audit_coverage/UserWriteAdminAuditCases.ts
+++ b/fluxer_api/src/api/admin/tests/audit_coverage/UserWriteAdminAuditCases.ts
@@ -185,39 +185,6 @@ export const UserWriteAdminAuditCases: ReadonlyArray<AdminAuditCoverageCase> = [
};
},
},
- {
- method: 'PUT',
- route: '/admin/users/:user_id/bot-status',
- async prepare({harness}) {
- const target = await createTestAccount(harness);
- return {
- request: {path: `/admin/users/${target.userId}/bot-status`, body: {bot: true}},
- expected: {
- action: 'set_bot_status',
- targetType: 'user',
- targetId: target.userId,
- metadata: {bot: 'true'},
- },
- };
- },
- },
- {
- method: 'PUT',
- route: '/admin/users/:user_id/system-status',
- async prepare(context) {
- const target = await createTestAccount(context.harness);
- await adminBuilder(context).put(`/admin/users/${target.userId}/bot-status`).body({bot: true}).execute();
- return {
- request: {path: `/admin/users/${target.userId}/system-status`, body: {system: true}},
- expected: {
- action: 'set_system_status',
- targetType: 'user',
- targetId: target.userId,
- metadata: {system: 'true'},
- },
- };
- },
- },
{
method: 'PATCH',
route: '/admin/users/:user_id/username',
diff --git a/fluxer_docs/src/content/docs/admin-api/api-keys.mdx b/fluxer_docs/src/content/docs/admin-api/api-keys.mdx
index be8c0a572..7dafa01ea 100644
--- a/fluxer_docs/src/content/docs/admin-api/api-keys.mdx
+++ b/fluxer_docs/src/content/docs/admin-api/api-keys.mdx
@@ -83,7 +83,7 @@ Only [Create Admin API key](#create-admin-api-key) returns this object. It has t
<sup>2</sup> Derived from `expires_in_days` at the instant the key is created, and null when that field is omitted
-<sup>3</sup> Reflects the stored set, so a value repeated in the request appears once
+<sup>3</sup> Reflects the stored set, so a value repeated in the request appears once and a value outside the [ACL registry](/admin-api/#acl-registry) is left out
:::caution[The secret is returned once]
The secret cannot be retrieved or rotated later. If it is lost, revoke the key and create a replacement.
@@ -140,7 +140,7 @@ The acting credential must already have every value in `acls`, unless it has `*`
| --- | --- | --- |
| name<sup>1</sup> | string | The name given to the key (1-100 characters) |
| expires_in_days?<sup>2</sup> | integer | The number of days until the key expires (1-365) |
-| acls<sup>3</sup> | array[string] | The [ACLs](/admin-api/#acl-registry) stored on the key, each a registry value (at most 107) |
+| acls<sup>3</sup> | array[string] | The [ACLs](/admin-api/#acl-registry) stored on the key, each a registry value (at most 103) |
<sup>1</sup> A value that is empty after trimming is rejected, so whitespace alone is not a name
@@ -218,7 +218,7 @@ An update never rotates the credential, and no field on this route changes the e
| Field | Type | Description |
| --- | --- | --- |
| name?<sup>1</sup> | string | The replacement name for the key (1-100 characters) |
-| acls?<sup>2</sup> | array[string] | The complete replacement set of [ACLs](/admin-api/#acl-registry), each a registry value (at most 107) |
+| acls?<sup>2</sup> | array[string] | The complete replacement set of [ACLs](/admin-api/#acl-registry), each a registry value (at most 103) |
<sup>1</sup> A value that is empty after trimming is rejected
diff --git a/fluxer_docs/src/content/docs/admin-api/index.mdx b/fluxer_docs/src/content/docs/admin-api/index.mdx
index 87aa5966a..a8ecf37f7 100644
--- a/fluxer_docs/src/content/docs/admin-api/index.mdx
+++ b/fluxer_docs/src/content/docs/admin-api/index.mdx
@@ -61,7 +61,7 @@ A body with none of those fields resolves to no ACL at all and applies no change
Fluxer checks each ACL an Admin grants against the ACLs that Admin holds. [Set user ACLs](/admin-api/users/#set-user-acls) and [Create Admin API key](/admin-api/api-keys/#create-admin-api-key) both refuse to write an ACL the acting Admin does not itself hold, with 403 `MISSING_ACL`. A wildcard holder is exempt. Set user ACLs also refuses the acting Admin's own account with 403 `ACCESS_DENIED`, and it looks up the target account before it checks the granted ACLs, so an unknown ID fails first with 404 `UNKNOWN_USER`.
-[Set user ACLs](/admin-api/users/#set-user-acls), [Create Admin API key](/admin-api/api-keys/#create-admin-api-key), and [Update Admin API key](/admin-api/api-keys/#update-admin-api-key) each accept at most 107 ACLs and validate every entry against the registry, so a value outside it returns 400 `INVALID_FORM_BODY`.
+[Set user ACLs](/admin-api/users/#set-user-acls), [Create Admin API key](/admin-api/api-keys/#create-admin-api-key), and [Update Admin API key](/admin-api/api-keys/#update-admin-api-key) each accept at most 103 ACLs and validate every entry against the registry, so a value outside it returns 400 `INVALID_FORM_BODY`.
:::caution[`*` satisfies every present and future ACL]
A key whose owning account holds `*` skips the owner check. An Admin holding `*` can grant any ACL.
@@ -373,8 +373,6 @@ An entry with any other action has `access` set to `write`.
| schedule_deletion | Account deletion was scheduled |
| send_password_reset | A password reset message was requested for an account |
| set_acls | The Admin ACL set of an account was replaced |
-| set_bot_status | The bot flag of an account was changed |
-| set_system_status | The system flag of an account was changed |
| set_traits | Account traits were replaced |
| shutdown_guild | One guild was stopped on the main Gateway |
| system_dm.send | A system DM broadcast was created |
@@ -476,7 +474,7 @@ Returns every Admin permission string the instance recognises, in [ACL registry]
| Field | Type | Description |
| --- | --- | --- |
-| acls<sup>1</sup> | array[string] | The permission strings the Admin API recognises (at most 107 entries) |
+| acls<sup>1</sup> | array[string] | The permission strings the Admin API recognises (at most 103 entries) |
<sup>1</sup> The response is the registry itself and does not vary with the caller's own ACL set
@@ -589,7 +587,6 @@ The registry is returned in this order by [List ACLs](#list-acls). A value outsi
| user:view:email<sup>6</sup> | Unredacts user email addresses and email verification state |
| user:view:ip<sup>6</sup> | Unredacts the last active IP address and the location derived from it |
| user:temp_ban | Applies and removes an account ban |
-| user:update:bot_status | Updates bot and system account state |
| user:update:dob | Updates dates of birth |
| user:update:email | Updates the email address, marks the address verified, resends verification, and sends a password reset |
| user:update:flags | Updates account flags and premium flags, refreshes in-app purchases, and ends every login session of an account |
diff --git a/fluxer_docs/src/content/docs/admin-api/users.mdx b/fluxer_docs/src/content/docs/admin-api/users.mdx
index b6b286365..961f8b5b1 100644
--- a/fluxer_docs/src/content/docs/admin-api/users.mdx
+++ b/fluxer_docs/src/content/docs/admin-api/users.mdx
@@ -57,7 +57,7 @@ When the caller lacks `user:view:email`, `user:view:dob`, or `user:view:ip`, Flu
| deletion_audit_log_reason | ?string | The private reason stored with the pending deletion, and null without `audit_log:view` |
| deletion_scheduled_by | ?snowflake | The ID of the account that scheduled the pending deletion, or null when it was not recorded |
| deletion_scheduled_at | ?ISO8601 timestamp | The time the pending deletion was scheduled, or null when it was not recorded |
-| acls<sup>7</sup> | array[string] | Effective [Admin ACLs](/admin-api/#acl-registry), with at most 107 entries |
+| acls<sup>7</sup> | array[string] | Effective [Admin ACLs](/admin-api/#acl-registry), with at most 103 entries |
| traits<sup>8</sup> | array[string] | The free-form operator labels set on the account, with at most 100 entries |
| has_totp<sup>9</sup> | boolean | Whether a TOTP authenticator is registered |
| authenticator_types<sup>9</sup> <sup>12</sup> | array[integer] | Registered [authenticator types](/http-api/users/#authenticator-types), with at most 10 entries |
@@ -78,7 +78,7 @@ When the caller lacks `user:view:email`, `user:view:dob`, or `user:view:ip`, Flu
<sup>6</sup> Written when the account holder schedules its own bulk message deletion, and cleared by [Cancel scheduled message deletion](#cancel-scheduled-message-deletion)
-<sup>7</sup> The set written by [Set user ACLs](#set-user-acls), returned in stored order. This set alone decides whether the account can reach the Admin API, and the `STAFF` [account flag](#account-flags) plays no part in that
+<sup>7</sup> The set written by [Set user ACLs](#set-user-acls), returned in stored order with any value outside the [ACL registry](/admin-api/#acl-registry) left out. This set alone decides whether the account can reach the Admin API, and the `STAFF` [account flag](#account-flags) plays no part in that
<sup>8</sup> Sorted in ascending order, unlike `acls`
@@ -945,95 +945,6 @@ The operation records one [Admin audit entry](/admin-api/#admin-audit-entry-obje
100 requests per minute for each authenticated user, on the `admin:user:modify` bucket.
-## Set user bot status
-
-<RouteHeader method="PUT" path="/v1/admin/users/{user_id}/bot-status" auditReason />
-
-Marks the account as a bot or as an ordinary account, and returns the resulting account. Requires `user:update:bot_status`.
-
-### Path parameters
-
-| Field | Type | Description |
-| --- | --- | --- |
-| user_id | snowflake | The ID of the target account |
-
-### JSON body
-
-| Field | Type | Description |
-| --- | --- | --- |
-| bot<sup>1</sup> | boolean | Whether the account is a bot |
-
-<sup>1</sup> Required. Setting it to false also clears `system` in the same write
-
-### Response body
-
-| Field | Type | Description |
-| --- | --- | --- |
-| user | [Admin user](#admin-user-object) object | The resulting account |
-
-### Response
-
-| Status | Body | Condition |
-| --- | --- | --- |
-| 200 | response body | Bot status was set |
-| 403<sup>1</sup> | [error response](/admin-api/#error-response) | Credential type or ACL evaluation denies the request. `ACCESS_DENIED` when the target holds an Admin ACL and `bot` is true |
-| 404 | [error response](/admin-api/#error-response) | `UNKNOWN_USER`, because the account does not exist |
-
-<sup>1</sup> A staff account cannot be converted into a bot. Clear its ACL set with [Set user ACLs](#set-user-acls) first
-
-### Side effects
-
-[User Update](/gateway/events/#user-update) is emitted to the account's own sessions, and each guild the account is a member of receives [Guild Member Update](/gateway/events/#guild-member-update) when the write changes `bot` or `system`.
-
-The operation records one [Admin audit entry](/admin-api/#admin-audit-entry-object) with action `set_bot_status`, target type `user`, and a metadata key `bot`. Clearing `system` as a side effect records no second entry.
-
-### Rate limit
-
-100 requests per minute for each authenticated user, on the `admin:user:modify` bucket.
-
-## Set user system status
-
-<RouteHeader method="PUT" path="/v1/admin/users/{user_id}/system-status" auditReason />
-
-Marks the account as an official system account or removes that marker, and returns the resulting account. Requires `user:update:bot_status`, the same ACL as [Set user bot status](#set-user-bot-status).
-
-### Path parameters
-
-| Field | Type | Description |
-| --- | --- | --- |
-| user_id | snowflake | The ID of the target account |
-
-### JSON body
-
-| Field | Type | Description |
-| --- | --- | --- |
-| system<sup>1</sup> | boolean | Whether the account is a system account |
-
-<sup>1</sup> Required. Setting it to true on an account that is not already a bot fails validation
-
-### Response body
-
-| Field | Type | Description |
-| --- | --- | --- |
-| user | [Admin user](#admin-user-object) object | The resulting account |
-
-### Response
-
-| Status | Body | Condition |
-| --- | --- | --- |
-| 200 | response body | System status was set |
-| 404 | [error response](/admin-api/#error-response) | `UNKNOWN_USER`, because the account does not exist |
-
-<sup>1</sup> The non-bot case is `INVALID_FORM_BODY` with the validation code `USER_MUST_BE_A_BOT_TO_BE_MARKED_AS_A_SYSTEM_USER` on the `system` path
-
-### Side effects
-
-[User Update](/gateway/events/#user-update) is emitted to the account's own sessions. The operation records one [Admin audit entry](/admin-api/#admin-audit-entry-object) with action `set_system_status`, target type `user`, and a metadata key `system`.
-
-### Rate limit
-
-100 requests per minute for each authenticated user, on the `admin:user:modify` bucket.
-
## Set user ACLs
<RouteHeader method="PUT" path="/v1/admin/users/{user_id}/acls" auditReason />
@@ -1060,7 +971,7 @@ A path naming the acting account fails with 403 `ACCESS_DENIED` before the accou
| Field | Type | Description |
| --- | --- | --- |
-| acls<sup>1</sup> | array[string] | Replacement [Admin ACLs](/admin-api/#acl-registry), with at most 107 values |
+| acls<sup>1</sup> | array[string] | Replacement [Admin ACLs](/admin-api/#acl-registry), with at most 103 values |
<sup>1</sup> Required. A value outside the [ACL registry](/admin-api/#acl-registry) fails body validation, and a repeated value is collapsed
diff --git a/fluxer_docs/src/content/docs/http-api/errors.md b/fluxer_docs/src/content/docs/http-api/errors.md
index ef55233e7..5030c3d56 100644
--- a/fluxer_docs/src/content/docs/http-api/errors.md
+++ b/fluxer_docs/src/content/docs/http-api/errors.md
@@ -2045,10 +2045,6 @@ This user doesn't have an email address
This user isn't banned
-### `USER_MUST_BE_A_BOT_TO_BE_MARKED_AS_A_SYSTEM_USER`
-
-User must be a bot to be marked as a system user
-
### `USER_NOT_IN_CHANNEL`
This user isn't in the channel
diff --git a/packages/constants/src/AdminACLs.ts b/packages/constants/src/AdminACLs.ts
index f878e2121..559fbb4fd 100644
--- a/packages/constants/src/AdminACLs.ts
+++ b/packages/constants/src/AdminACLs.ts
@@ -89,7 +89,6 @@ export const AdminACLs = {
USER_VIEW_EMAIL: 'user:view:email',
USER_VIEW_IP: 'user:view:ip',
USER_TEMP_BAN: 'user:temp_ban',
- USER_UPDATE_BOT_STATUS: 'user:update:bot_status',
USER_UPDATE_DOB: 'user:update:dob',
USER_UPDATE_EMAIL: 'user:update:email',
USER_UPDATE_FLAGS: 'user:update:flags',
@@ -106,3 +105,9 @@ export const AdminACLs = {
VOICE_SERVER_LIST: 'voice:server:list',
VOICE_SERVER_UPDATE: 'voice:server:update',
} as const;
+
+const KNOWN_ADMIN_ACLS: ReadonlySet<string> = new Set(Object.values(AdminACLs));
+
+export function filterKnownAdminACLs(acls: Iterable<string>): Array<string> {
+ return Array.from(acls).filter((acl) => KNOWN_ADMIN_ACLS.has(acl));
+}
diff --git a/packages/constants/src/ValidationErrorCodes.ts b/packages/constants/src/ValidationErrorCodes.ts
index 87995799c..d72c5748b 100644
--- a/packages/constants/src/ValidationErrorCodes.ts
+++ b/packages/constants/src/ValidationErrorCodes.ts
@@ -208,7 +208,6 @@ export const ValidationErrorCodes = {
URL_NOT_PUBLICLY_ROUTABLE: 'URL_NOT_PUBLICLY_ROUTABLE',
USER_DOES_NOT_HAVE_AN_EMAIL_ADDRESS: 'USER_DOES_NOT_HAVE_AN_EMAIL_ADDRESS',
USER_IS_NOT_BANNED: 'USER_IS_NOT_BANNED',
- USER_MUST_BE_A_BOT_TO_BE_MARKED_AS_A_SYSTEM_USER: 'USER_MUST_BE_A_BOT_TO_BE_MARKED_AS_A_SYSTEM_USER',
USER_NOT_IN_CHANNEL: 'USER_NOT_IN_CHANNEL',
USERNAME_CANNOT_CONTAIN_RESERVED_TERMS: 'USERNAME_CANNOT_CONTAIN_RESERVED_TERMS',
USERNAME_CHANGED_TOO_MANY_TIMES: 'USERNAME_CHANGED_TOO_MANY_TIMES',
diff --git a/packages/errors/src/i18n/ErrorCodeMappings.ts b/packages/errors/src/i18n/ErrorCodeMappings.ts
index 24a69dc50..a0bc8c1e6 100644
--- a/packages/errors/src/i18n/ErrorCodeMappings.ts
+++ b/packages/errors/src/i18n/ErrorCodeMappings.ts
@@ -405,8 +405,6 @@ export const ErrorCodeToI18nKey = {
[ValidationErrorCodes.VISIONARY_REQUIRED_FOR_DISCRIMINATOR]: 'premium_and_plans.visionary_required_for_discriminator',
[ValidationErrorCodes.BOT_DISCRIMINATOR_CANNOT_BE_CHANGED]: 'bots.bot_discriminator_cannot_be_changed',
[ValidationErrorCodes.BOT_SEARCH_SCOPE_UNAVAILABLE]: 'bots.search_scope_unavailable',
- [ValidationErrorCodes.USER_MUST_BE_A_BOT_TO_BE_MARKED_AS_A_SYSTEM_USER]:
- 'admin_and_system.user_must_be_bot_for_system_user',
[ValidationErrorCodes.USER_IS_NOT_BANNED]: 'moderation_and_reports.user_is_not_banned',
[ValidationErrorCodes.NCMEC_ATTACHMENT_MUST_BE_IMAGE_OR_VIDEO]:
'moderation_and_reports.ncmec_attachment_must_be_image_or_video',
diff --git a/packages/errors/src/i18n/ErrorI18nMessages.ts b/packages/errors/src/i18n/ErrorI18nMessages.ts
index d232f498c..bc6c8a293 100644
--- a/packages/errors/src/i18n/ErrorI18nMessages.ts
+++ b/packages/errors/src/i18n/ErrorI18nMessages.ts
@@ -44,7 +44,6 @@ export const ERROR_I18N_MESSAGES = {
'admin_and_system.test_harness_disabled': 'Test harness is disabled.',
'admin_and_system.test_harness_forbidden': 'Test harness is forbidden.',
'admin_and_system.update_failed': "We couldn't update the resource. Please try again.",
- 'admin_and_system.user_must_be_bot_for_system_user': 'User must be a bot to be marked as a system user.',
'age_verification.already_verified': "You've already completed age verification.",
'attachments_and_uploads.attachment_fields_required':
'`attachment_id`, `channel_id`, `message_id`, and `expires_at` are required.',
diff --git a/packages/errors/src/i18n/locales/ar.ts b/packages/errors/src/i18n/locales/ar.ts
index 98ef1f533..c3d5f5821 100644
--- a/packages/errors/src/i18n/locales/ar.ts
+++ b/packages/errors/src/i18n/locales/ar.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_AR_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "أداة الاختبار معطلة.",
"admin_and_system.test_harness_forbidden": "أداة الاختبار محظورة.",
"admin_and_system.update_failed": "لم نتمكن من تحديث المورد. حاول مجددًا.",
- "admin_and_system.user_must_be_bot_for_system_user": "يجب أن يكون المستخدم بوتًا ليتم تحديده كمستخدم نظام.",
"age_verification.already_verified": "لقد أكملت التحقق من العمر بالفعل.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id` و`channel_id` و`message_id` و`expires_at` مطلوبة.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "يجب أن تكون `attachment_id` و`channel_id` و`message_id` أعدادًا صحيحة صالحة.",
diff --git a/packages/errors/src/i18n/locales/bg.ts b/packages/errors/src/i18n/locales/bg.ts
index 30302d1c7..7a45bc644 100644
--- a/packages/errors/src/i18n/locales/bg.ts
+++ b/packages/errors/src/i18n/locales/bg.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_BG_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Тестовата система е деактивирана.",
"admin_and_system.test_harness_forbidden": "Тестовата система е забранена.",
"admin_and_system.update_failed": "Не успяхме да актуализираме ресурса. Опитай отново.",
- "admin_and_system.user_must_be_bot_for_system_user": "Потребителят трябва да бъде бот, за да бъде маркиран като системен потребител.",
"age_verification.already_verified": "Вече премина проверката за възраст.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` и `expires_at` са задължителни.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` и `message_id` трябва да са валидни цели числа.",
diff --git a/packages/errors/src/i18n/locales/cs.ts b/packages/errors/src/i18n/locales/cs.ts
index c4ce3c3b6..b4db79c3e 100644
--- a/packages/errors/src/i18n/locales/cs.ts
+++ b/packages/errors/src/i18n/locales/cs.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_CS_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Testovací prostředí je vypnuté.",
"admin_and_system.test_harness_forbidden": "Přístup k testovacímu prostředí je zakázán.",
"admin_and_system.update_failed": "Nepodařilo se aktualizovat zdroj. Zkuste to znovu.",
- "admin_and_system.user_must_be_bot_for_system_user": "Uživatel musí být bot, aby mohl být označen jako systémový uživatel.",
"age_verification.already_verified": "Ověření věku už bylo dokončeno.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` a `expires_at` jsou povinné.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` a `message_id` musí být platné celočíselné hodnoty.",
diff --git a/packages/errors/src/i18n/locales/da.ts b/packages/errors/src/i18n/locales/da.ts
index 13cb9b4c4..3a2207ebc 100644
--- a/packages/errors/src/i18n/locales/da.ts
+++ b/packages/errors/src/i18n/locales/da.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_DA_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Testmiljøet er deaktiveret.",
"admin_and_system.test_harness_forbidden": "Adgang til testmiljøet er ikke tilladt.",
"admin_and_system.update_failed": "Ressourcen kunne ikke opdateres. Prøv igen.",
- "admin_and_system.user_must_be_bot_for_system_user": "Brugeren skal være en bot for at kunne markeres som systembruger.",
"age_verification.already_verified": "Du har allerede gennemført aldersbekræftelse.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` og `expires_at` er påkrævet.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` og `message_id` skal være gyldige heltal.",
diff --git a/packages/errors/src/i18n/locales/de.ts b/packages/errors/src/i18n/locales/de.ts
index e8cd51ab2..a1d272f20 100644
--- a/packages/errors/src/i18n/locales/de.ts
+++ b/packages/errors/src/i18n/locales/de.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_DE_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Test-Harness ist deaktiviert.",
"admin_and_system.test_harness_forbidden": "Test-Harness ist verboten.",
"admin_and_system.update_failed": "Wir konnten die Ressource nicht aktualisieren. Bitte versuche es erneut.",
- "admin_and_system.user_must_be_bot_for_system_user": "Ein Benutzer muss ein Bot sein, um als Systembenutzer markiert zu werden.",
"age_verification.already_verified": "Du hast die Altersbestätigung bereits abgeschlossen.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` und `expires_at` sind erforderlich.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` und `message_id` müssen gültige Ganzzahlen sein.",
diff --git a/packages/errors/src/i18n/locales/el.ts b/packages/errors/src/i18n/locales/el.ts
index e101e5597..235246dc5 100644
--- a/packages/errors/src/i18n/locales/el.ts
+++ b/packages/errors/src/i18n/locales/el.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_EL_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Το test harness είναι απενεργοποιημένο.",
"admin_and_system.test_harness_forbidden": "Το test harness απαγορεύεται.",
"admin_and_system.update_failed": "Δεν μπορέσαμε να ενημερώσουμε τον πόρο. Δοκίμασε ξανά.",
- "admin_and_system.user_must_be_bot_for_system_user": "Ο χρήστης πρέπει να είναι bot για να οριστεί ως χρήστης συστήματος.",
"age_verification.already_verified": "Έχεις ήδη ολοκληρώσει την επαλήθευση ηλικίας.",
"attachments_and_uploads.attachment_fields_required": "Τα `attachment_id`, `channel_id`, `message_id` και `expires_at` είναι υποχρεωτικά.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "Τα `attachment_id`, `channel_id` και `message_id` πρέπει να είναι έγκυροι ακέραιοι αριθμοί.",
diff --git a/packages/errors/src/i18n/locales/en-GB.ts b/packages/errors/src/i18n/locales/en-GB.ts
index a76ee6294..b71559da1 100644
--- a/packages/errors/src/i18n/locales/en-GB.ts
+++ b/packages/errors/src/i18n/locales/en-GB.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_EN_GB_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Test harness is disabled.",
"admin_and_system.test_harness_forbidden": "Test harness is forbidden.",
"admin_and_system.update_failed": "We couldn't update the resource. Please try again.",
- "admin_and_system.user_must_be_bot_for_system_user": "User must be a bot to be marked as a system user.",
"age_verification.already_verified": "You've already completed age verification.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id`, and `expires_at` are required.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id`, and `message_id` must be valid integers.",
diff --git a/packages/errors/src/i18n/locales/es-419.ts b/packages/errors/src/i18n/locales/es-419.ts
index 2719e7f80..c934067a5 100644
--- a/packages/errors/src/i18n/locales/es-419.ts
+++ b/packages/errors/src/i18n/locales/es-419.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_ES_419_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "El entorno de prueba está deshabilitado.",
"admin_and_system.test_harness_forbidden": "El entorno de prueba está prohibido.",
"admin_and_system.update_failed": "No se pudo actualizar el recurso. Inténtalo de nuevo.",
- "admin_and_system.user_must_be_bot_for_system_user": "El usuario debe ser un bot para ser marcado como usuario del sistema.",
"age_verification.already_verified": "Ya completaste la verificación de edad.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` y `expires_at` son obligatorios.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` y `message_id` deben ser enteros válidos.",
diff --git a/packages/errors/src/i18n/locales/es-ES.ts b/packages/errors/src/i18n/locales/es-ES.ts
index 6fe3e3637..dd869b7e6 100644
--- a/packages/errors/src/i18n/locales/es-ES.ts
+++ b/packages/errors/src/i18n/locales/es-ES.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_ES_ES_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "El entorno de pruebas está deshabilitado.",
"admin_and_system.test_harness_forbidden": "El entorno de pruebas está prohibido.",
"admin_and_system.update_failed": "No se pudo actualizar el recurso. Inténtalo de nuevo.",
- "admin_and_system.user_must_be_bot_for_system_user": "El usuario debe ser un bot para ser marcado como usuario del sistema.",
"age_verification.already_verified": "Ya has completado la verificación de edad.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` y `expires_at` son obligatorios.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` y `message_id` deben ser enteros válidos.",
diff --git a/packages/errors/src/i18n/locales/fi.ts b/packages/errors/src/i18n/locales/fi.ts
index 861adccab..ae8fbcf28 100644
--- a/packages/errors/src/i18n/locales/fi.ts
+++ b/packages/errors/src/i18n/locales/fi.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_FI_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Testausympäristö on poistettu käytöstä.",
"admin_and_system.test_harness_forbidden": "Testausympäristö on kielletty.",
"admin_and_system.update_failed": "Resurssia ei voitu päivittää. Yritä uudelleen.",
- "admin_and_system.user_must_be_bot_for_system_user": "Käyttäjän on oltava botti, jotta sen voi merkitä järjestelmäkäyttäjäksi.",
"age_verification.already_verified": "Olet jo suorittanut iän vahvistuksen.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` ja `expires_at` ovat pakollisia.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "Seuraavien kenttien arvojen on oltava kelvollisia kokonaislukuja: `attachment_id`, `channel_id` ja `message_id`.",
diff --git a/packages/errors/src/i18n/locales/fr.ts b/packages/errors/src/i18n/locales/fr.ts
index 1e2e2b39c..fe9c77a3e 100644
--- a/packages/errors/src/i18n/locales/fr.ts
+++ b/packages/errors/src/i18n/locales/fr.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_FR_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Le banc de test est désactivé.",
"admin_and_system.test_harness_forbidden": "Le banc de test est interdit.",
"admin_and_system.update_failed": "Impossible de mettre à jour la ressource. Réessayez.",
- "admin_and_system.user_must_be_bot_for_system_user": "L'utilisateur doit être un bot pour être marqué comme utilisateur système.",
"age_verification.already_verified": "Vous avez déjà effectué la vérification de l’âge.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` et `expires_at` sont nécessaires.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` et `message_id` doivent être des entiers valides.",
diff --git a/packages/errors/src/i18n/locales/he.ts b/packages/errors/src/i18n/locales/he.ts
index 187b065fc..c4cef43e3 100644
--- a/packages/errors/src/i18n/locales/he.ts
+++ b/packages/errors/src/i18n/locales/he.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_HE_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "כלי הבדיקה מושבת.",
"admin_and_system.test_harness_forbidden": "השימוש בכלי הבדיקה אסור.",
"admin_and_system.update_failed": "לא הצלחנו לעדכן את המשאב. ניתן לנסות שוב.",
- "admin_and_system.user_must_be_bot_for_system_user": "המשתמש חייב להיות בוט כדי להיות מוגדר כמשתמש מערכת.",
"age_verification.already_verified": "כבר השלמת את אימות הגיל.",
"attachments_and_uploads.attachment_fields_required": "יש לציין את `attachment_id`, `channel_id`, `message_id` ו-`expires_at`.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` ו-`message_id` חייבים להיות מספרים שלמים תקינים.",
diff --git a/packages/errors/src/i18n/locales/hi.ts b/packages/errors/src/i18n/locales/hi.ts
index dad917deb..30cca9204 100644
--- a/packages/errors/src/i18n/locales/hi.ts
+++ b/packages/errors/src/i18n/locales/hi.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_HI_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Test harness डिसेबल है।",
"admin_and_system.test_harness_forbidden": "Test harness की अनुमति नहीं है।",
"admin_and_system.update_failed": "रिसोर्स अपडेट नहीं किया जा सका। कृपया फिर से कोशिश करें।",
- "admin_and_system.user_must_be_bot_for_system_user": "सिस्टम यूज़र के रूप में मार्क किए जाने के लिए यूज़र का बॉट होना ज़रूरी है।",
"age_verification.already_verified": "आपने पहले ही एज वेरिफ़िकेशन पूरा कर लिया है।",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id`, और `expires_at` ज़रूरी हैं।",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id`, और `message_id` मान्य इंटीजर होने चाहिए।",
diff --git a/packages/errors/src/i18n/locales/hr.ts b/packages/errors/src/i18n/locales/hr.ts
index 1bda0fea2..c0dbf1219 100644
--- a/packages/errors/src/i18n/locales/hr.ts
+++ b/packages/errors/src/i18n/locales/hr.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_HR_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Testni sustav je onemogućen.",
"admin_and_system.test_harness_forbidden": "Testni sustav je zabranjen.",
"admin_and_system.update_failed": "Nismo mogli ažurirati resurs. Pokušaj ponovno.",
- "admin_and_system.user_must_be_bot_for_system_user": "Korisnik mora biti bot da bi bio označen kao sistemski korisnik.",
"age_verification.already_verified": "Provjera dobi je već završena.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` i `expires_at` su obavezni.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` i `message_id` moraju biti valjani cijeli brojevi.",
diff --git a/packages/errors/src/i18n/locales/hu.ts b/packages/errors/src/i18n/locales/hu.ts
index 2ef38cd6e..35c75867a 100644
--- a/packages/errors/src/i18n/locales/hu.ts
+++ b/packages/errors/src/i18n/locales/hu.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_HU_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "A tesztkeretrendszer ki van kapcsolva.",
"admin_and_system.test_harness_forbidden": "A tesztkeretrendszer használata nem engedélyezett.",
"admin_and_system.update_failed": "Nem sikerült frissíteni az erőforrást. Próbáld újra.",
- "admin_and_system.user_must_be_bot_for_system_user": "Csak botfelhasználó jelölhető meg rendszerfelhasználóként.",
"age_verification.already_verified": "Már elvégezted a korhatár-ellenőrzést.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` és `expires_at` megadása kötelező.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` és `message_id` érvényes egész számoknak kell lenniük.",
diff --git a/packages/errors/src/i18n/locales/id.ts b/packages/errors/src/i18n/locales/id.ts
index 79d6516bb..05a353046 100644
--- a/packages/errors/src/i18n/locales/id.ts
+++ b/packages/errors/src/i18n/locales/id.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_ID_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Test harness dinonaktifkan.",
"admin_and_system.test_harness_forbidden": "Test harness dilarang.",
"admin_and_system.update_failed": "Tidak bisa memperbarui sumber daya. Coba lagi.",
- "admin_and_system.user_must_be_bot_for_system_user": "Pengguna harus bot untuk ditandai sebagai pengguna sistem.",
"age_verification.already_verified": "Kamu sudah menyelesaikan verifikasi usia.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id`, dan `expires_at` diperlukan.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id`, dan `message_id` harus berupa bilangan bulat yang valid.",
diff --git a/packages/errors/src/i18n/locales/it.ts b/packages/errors/src/i18n/locales/it.ts
index aab4708f1..b597f1573 100644
--- a/packages/errors/src/i18n/locales/it.ts
+++ b/packages/errors/src/i18n/locales/it.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_IT_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Ambiente di test disabilitato.",
"admin_and_system.test_harness_forbidden": "Ambiente di test vietato.",
"admin_and_system.update_failed": "Non è stato possibile aggiornare la risorsa. Riprova.",
- "admin_and_system.user_must_be_bot_for_system_user": "L'utente deve essere un bot per essere contrassegnato come utente di sistema.",
"age_verification.already_verified": "Hai già completato la verifica dell'età.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` e `expires_at` sono richiesti.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` e `message_id` devono essere interi validi.",
diff --git a/packages/errors/src/i18n/locales/ja.ts b/packages/errors/src/i18n/locales/ja.ts
index 873c02579..a5e59f7b5 100644
--- a/packages/errors/src/i18n/locales/ja.ts
+++ b/packages/errors/src/i18n/locales/ja.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_JA_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "テストハーネスは無効です。",
"admin_and_system.test_harness_forbidden": "テストハーネスは禁止されています。",
"admin_and_system.update_failed": "リソースを更新できませんでした。もう一度お試しください。",
- "admin_and_system.user_must_be_bot_for_system_user": "システムユーザーとしてマークするには、ユーザーはボットである必要があります。",
"age_verification.already_verified": "年齢確認はすでに完了しています。",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`、`channel_id`、`message_id`、`expires_at`は必須です。",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`、`channel_id`、`message_id`は有効な整数である必要があります。",
diff --git a/packages/errors/src/i18n/locales/ko.ts b/packages/errors/src/i18n/locales/ko.ts
index 2479fc603..ba489e3e1 100644
--- a/packages/errors/src/i18n/locales/ko.ts
+++ b/packages/errors/src/i18n/locales/ko.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_KO_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "테스트 하네스가 비활성화되었어요.",
"admin_and_system.test_harness_forbidden": "테스트 하네스 사용이 금지되어 있어요.",
"admin_and_system.update_failed": "리소스를 업데이트하지 못했어요. 다시 시도해 주세요.",
- "admin_and_system.user_must_be_bot_for_system_user": "시스템 사용자로 표시하려면 봇이어야 해요.",
"age_verification.already_verified": "연령 인증을 이미 완료했어요.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id`, `expires_at`이 모두 필요해요.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id`, `message_id`는 모두 유효한 정수여야 해요.",
diff --git a/packages/errors/src/i18n/locales/lt.ts b/packages/errors/src/i18n/locales/lt.ts
index b6afa94be..bd7f9c143 100644
--- a/packages/errors/src/i18n/locales/lt.ts
+++ b/packages/errors/src/i18n/locales/lt.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_LT_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Testavimo sistema išjungta.",
"admin_and_system.test_harness_forbidden": "Testavimo sistema draudžiama.",
"admin_and_system.update_failed": "Ištekliaus atnaujinti nepavyko. Pabandyk dar kartą.",
- "admin_and_system.user_must_be_bot_for_system_user": "Naudotojas turi būti botas, kad jį būtų galima pažymėti kaip sistemos naudotoją.",
"age_verification.already_verified": "Amžiaus patvirtinimą jau atlikai.",
"attachments_and_uploads.attachment_fields_required": "Reikalingi: `attachment_id`, `channel_id`, `message_id` ir `expires_at`.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` ir `message_id` turi būti galiojantys sveikieji skaičiai.",
diff --git a/packages/errors/src/i18n/locales/nl.ts b/packages/errors/src/i18n/locales/nl.ts
index d411df738..bf160382d 100644
--- a/packages/errors/src/i18n/locales/nl.ts
+++ b/packages/errors/src/i18n/locales/nl.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_NL_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Testfunctionaliteit is uitgeschakeld.",
"admin_and_system.test_harness_forbidden": "Testfunctionaliteit is verboden.",
"admin_and_system.update_failed": "We konden het item niet bijwerken. Probeer het opnieuw.",
- "admin_and_system.user_must_be_bot_for_system_user": "Gebruiker moet een bot zijn om als systeemgebruiker te worden gemarkeerd.",
"age_verification.already_verified": "Je hebt de leeftijdsverificatie al voltooid.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` en `expires_at` zijn verplicht.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` en `message_id` moeten geldige gehele getallen zijn.",
diff --git a/packages/errors/src/i18n/locales/no.ts b/packages/errors/src/i18n/locales/no.ts
index 3326cd39a..ffcd08587 100644
--- a/packages/errors/src/i18n/locales/no.ts
+++ b/packages/errors/src/i18n/locales/no.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_NO_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Testrammeverket er deaktivert.",
"admin_and_system.test_harness_forbidden": "Testrammeverket er ikke tillatt.",
"admin_and_system.update_failed": "Vi kunne ikke oppdatere ressursen. Prøv på nytt.",
- "admin_and_system.user_must_be_bot_for_system_user": "Brukeren må være en bot for å bli merket som en systembruker.",
"age_verification.already_verified": "Du har allerede fullført aldersverifisering.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` og `expires_at` er påkrevd.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` og `message_id` må være gyldige heltall.",
diff --git a/packages/errors/src/i18n/locales/pl.ts b/packages/errors/src/i18n/locales/pl.ts
index 3a9707ff3..439e31dde 100644
--- a/packages/errors/src/i18n/locales/pl.ts
+++ b/packages/errors/src/i18n/locales/pl.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_PL_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Środowisko testowe wyłączone.",
"admin_and_system.test_harness_forbidden": "Środowisko testowe zabronione.",
"admin_and_system.update_failed": "Nie udało się zaktualizować zasobu. Spróbuj jeszcze raz.",
- "admin_and_system.user_must_be_bot_for_system_user": "Użytkownik musi być botem, aby mógł być oznaczony jako użytkownik systemowy.",
"age_verification.already_verified": "Weryfikacja wieku została już zakończona.",
"attachments_and_uploads.attachment_fields_required": "Wymagane: `attachment_id`, `channel_id`, `message_id` i `expires_at`.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` i `message_id` muszą być prawidłowymi liczbami całkowitymi.",
diff --git a/packages/errors/src/i18n/locales/pt-BR.ts b/packages/errors/src/i18n/locales/pt-BR.ts
index ea909b78b..2f5a26e27 100644
--- a/packages/errors/src/i18n/locales/pt-BR.ts
+++ b/packages/errors/src/i18n/locales/pt-BR.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_PT_BR_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "A ferramenta de teste está desativada.",
"admin_and_system.test_harness_forbidden": "A ferramenta de teste é proibida.",
"admin_and_system.update_failed": "Não foi possível atualizar o recurso. Tente de novo.",
- "admin_and_system.user_must_be_bot_for_system_user": "O usuário deve ser um bot para ser marcado como usuário de sistema.",
"age_verification.already_verified": "Você já concluiu a verificação de idade.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` e `expires_at` são obrigatórios.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` e `message_id` devem ser números inteiros válidos.",
diff --git a/packages/errors/src/i18n/locales/ro.ts b/packages/errors/src/i18n/locales/ro.ts
index fae01b63c..06c97b09c 100644
--- a/packages/errors/src/i18n/locales/ro.ts
+++ b/packages/errors/src/i18n/locales/ro.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_RO_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Cadrul de testare este dezactivat.",
"admin_and_system.test_harness_forbidden": "Cadrul de testare este interzis.",
"admin_and_system.update_failed": "Resursa nu a putut fi actualizată. Încearcă din nou.",
- "admin_and_system.user_must_be_bot_for_system_user": "Utilizatorul trebuie să fie un bot pentru a fi marcat ca utilizator de sistem.",
"age_verification.already_verified": "Ai finalizat deja verificarea vârstei.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` și `expires_at` sunt obligatorii.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` și `message_id` trebuie să fie numere întregi valide.",
diff --git a/packages/errors/src/i18n/locales/ru.ts b/packages/errors/src/i18n/locales/ru.ts
index a97905121..330ce83d2 100644
--- a/packages/errors/src/i18n/locales/ru.ts
+++ b/packages/errors/src/i18n/locales/ru.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_RU_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Тестовый стенд отключён.",
"admin_and_system.test_harness_forbidden": "Тестовый стенд запрещён.",
"admin_and_system.update_failed": "Не удалось обновить ресурс. Попробуй ещё раз.",
- "admin_and_system.user_must_be_bot_for_system_user": "Пользователь должен быть ботом, чтобы отметить его как системного пользователя.",
"age_verification.already_verified": "Возраст уже подтверждён.",
"attachments_and_uploads.attachment_fields_required": "Необходимо указать `attachment_id`, `channel_id`, `message_id` и `expires_at`.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` и `message_id` должны быть действительными целыми числами.",
diff --git a/packages/errors/src/i18n/locales/sv-SE.ts b/packages/errors/src/i18n/locales/sv-SE.ts
index 5bd89698e..f74b61e02 100644
--- a/packages/errors/src/i18n/locales/sv-SE.ts
+++ b/packages/errors/src/i18n/locales/sv-SE.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_SV_SE_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Testverktyget är inaktiverat.",
"admin_and_system.test_harness_forbidden": "Testverktyget är inte tillåtet.",
"admin_and_system.update_failed": "Det gick inte att uppdatera resursen. Försök igen.",
- "admin_and_system.user_must_be_bot_for_system_user": "Användaren måste vara en bot för att markeras som en systemanvändare.",
"age_verification.already_verified": "Du har redan slutfört åldersverifieringen.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` och `expires_at` krävs.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` och `message_id` måste vara giltiga heltal.",
diff --git a/packages/errors/src/i18n/locales/th.ts b/packages/errors/src/i18n/locales/th.ts
index 4785a14d7..30d91b9b5 100644
--- a/packages/errors/src/i18n/locales/th.ts
+++ b/packages/errors/src/i18n/locales/th.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_TH_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "ปิดใช้งาน test harness แล้ว",
"admin_and_system.test_harness_forbidden": "ไม่อนุญาตให้ใช้ test harness",
"admin_and_system.update_failed": "ไม่สามารถอัปเดตทรัพยากรได้ โปรดลองอีกครั้ง",
- "admin_and_system.user_must_be_bot_for_system_user": "ผู้ใช้ต้องเป็นบอทจึงจะสามารถระบุว่าเป็นผู้ใช้ระบบได้",
"age_verification.already_verified": "คุณยืนยันอายุเรียบร้อยแล้ว",
"attachments_and_uploads.attachment_fields_required": "ต้องระบุ `attachment_id`, `channel_id`, `message_id` และ `expires_at`",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` และ `message_id` ต้องเป็นจำนวนเต็มที่ถูกต้อง",
diff --git a/packages/errors/src/i18n/locales/tr.ts b/packages/errors/src/i18n/locales/tr.ts
index 1b3359b82..31b4fc698 100644
--- a/packages/errors/src/i18n/locales/tr.ts
+++ b/packages/errors/src/i18n/locales/tr.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_TR_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Test altyapısı devre dışı.",
"admin_and_system.test_harness_forbidden": "Test altyapısı yasak.",
"admin_and_system.update_failed": "Kaynağı güncelleyemedik. Tekrar dene.",
- "admin_and_system.user_must_be_bot_for_system_user": "Kullanıcı, sistem kullanıcısı olarak işaretlenmek için bot olmalı.",
"age_verification.already_verified": "Yaş doğrulamasını zaten tamamladın.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` ve `expires_at` gerekli.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` ve `message_id` geçerli tam sayı olmalı.",
diff --git a/packages/errors/src/i18n/locales/uk.ts b/packages/errors/src/i18n/locales/uk.ts
index 64e328c06..5c1367f25 100644
--- a/packages/errors/src/i18n/locales/uk.ts
+++ b/packages/errors/src/i18n/locales/uk.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_UK_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Тестову систему вимкнено.",
"admin_and_system.test_harness_forbidden": "Тестову систему заборонено.",
"admin_and_system.update_failed": "Не вдалося оновити ресурс. Спробуй ще раз.",
- "admin_and_system.user_must_be_bot_for_system_user": "Користувач має бути ботом, щоб його можна було позначити як системного користувача.",
"age_verification.already_verified": "Перевірку віку вже пройдено.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` та `expires_at` є обов'язковими.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` та `message_id` мають бути дійсними цілими числами.",
diff --git a/packages/errors/src/i18n/locales/vi.ts b/packages/errors/src/i18n/locales/vi.ts
index 6398d502b..51d504d1a 100644
--- a/packages/errors/src/i18n/locales/vi.ts
+++ b/packages/errors/src/i18n/locales/vi.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_VI_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "Tính năng test harness đã bị tắt.",
"admin_and_system.test_harness_forbidden": "Tính năng test harness bị cấm.",
"admin_and_system.update_failed": "Không thể cập nhật tài nguyên. Vui lòng thử lại.",
- "admin_and_system.user_must_be_bot_for_system_user": "Người dùng phải là bot mới được đánh dấu là người dùng hệ thống.",
"age_verification.already_verified": "Bạn đã hoàn tất xác minh tuổi.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` và `expires_at` là bắt buộc.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` và `message_id` phải là các số nguyên hợp lệ.",
diff --git a/packages/errors/src/i18n/locales/zh-CN.ts b/packages/errors/src/i18n/locales/zh-CN.ts
index 9e97845cd..d6e204134 100644
--- a/packages/errors/src/i18n/locales/zh-CN.ts
+++ b/packages/errors/src/i18n/locales/zh-CN.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_ZH_CN_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "测试工具已禁用。",
"admin_and_system.test_harness_forbidden": "禁止使用测试工具。",
"admin_and_system.update_failed": "无法更新资源。请重试。",
- "admin_and_system.user_must_be_bot_for_system_user": "用户必须是机器人才能被标记为系统用户。",
"age_verification.already_verified": "你已完成年龄验证。",
"attachments_and_uploads.attachment_fields_required": "需要提供 `attachment_id`、`channel_id`、`message_id` 和 `expires_at`。",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`、`channel_id` 和 `message_id` 必须是有效的整数。",
diff --git a/packages/errors/src/i18n/locales/zh-TW.ts b/packages/errors/src/i18n/locales/zh-TW.ts
index 26208fceb..0a1b3fd18 100644
--- a/packages/errors/src/i18n/locales/zh-TW.ts
+++ b/packages/errors/src/i18n/locales/zh-TW.ts
@@ -42,7 +42,6 @@ const ERROR_I18N_ZH_TW_MESSAGES = defineErrorI18nLocaleMessages({
"admin_and_system.test_harness_disabled": "測試工具已停用。",
"admin_and_system.test_harness_forbidden": "禁止使用測試工具。",
"admin_and_system.update_failed": "我們無法更新資源。請再試一次。",
- "admin_and_system.user_must_be_bot_for_system_user": "使用者必須是機器人才能標記為系統使用者。",
"age_verification.already_verified": "你已完成年齡驗證。",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`、`channel_id`、`message_id` 和 `expires_at` 為必填。",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`、`channel_id` 和 `message_id` 必須為有效的整數。",
diff --git a/packages/errors/src/i18n/weblate/locales/ar.json b/packages/errors/src/i18n/weblate/locales/ar.json
index 1c6b4a9d1..aee769d57 100644
--- a/packages/errors/src/i18n/weblate/locales/ar.json
+++ b/packages/errors/src/i18n/weblate/locales/ar.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "أداة الاختبار معطلة.",
"admin_and_system.test_harness_forbidden": "أداة الاختبار محظورة.",
"admin_and_system.update_failed": "لم نتمكن من تحديث المورد. حاول مجددًا.",
- "admin_and_system.user_must_be_bot_for_system_user": "يجب أن يكون المستخدم بوتًا ليتم تحديده كمستخدم نظام.",
"age_verification.already_verified": "لقد أكملت التحقق من العمر بالفعل.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id` و`channel_id` و`message_id` و`expires_at` مطلوبة.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "يجب أن تكون `attachment_id` و`channel_id` و`message_id` أعدادًا صحيحة صالحة.",
diff --git a/packages/errors/src/i18n/weblate/locales/bg.json b/packages/errors/src/i18n/weblate/locales/bg.json
index b59d4900b..24b743051 100644
--- a/packages/errors/src/i18n/weblate/locales/bg.json
+++ b/packages/errors/src/i18n/weblate/locales/bg.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Тестовата система е деактивирана.",
"admin_and_system.test_harness_forbidden": "Тестовата система е забранена.",
"admin_and_system.update_failed": "Не успяхме да актуализираме ресурса. Опитай отново.",
- "admin_and_system.user_must_be_bot_for_system_user": "Потребителят трябва да бъде бот, за да бъде маркиран като системен потребител.",
"age_verification.already_verified": "Вече премина проверката за възраст.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` и `expires_at` са задължителни.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` и `message_id` трябва да са валидни цели числа.",
diff --git a/packages/errors/src/i18n/weblate/locales/cs.json b/packages/errors/src/i18n/weblate/locales/cs.json
index e1d113e6a..608db8f0d 100644
--- a/packages/errors/src/i18n/weblate/locales/cs.json
+++ b/packages/errors/src/i18n/weblate/locales/cs.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Testovací prostředí je vypnuté.",
"admin_and_system.test_harness_forbidden": "Přístup k testovacímu prostředí je zakázán.",
"admin_and_system.update_failed": "Nepodařilo se aktualizovat zdroj. Zkuste to znovu.",
- "admin_and_system.user_must_be_bot_for_system_user": "Uživatel musí být bot, aby mohl být označen jako systémový uživatel.",
"age_verification.already_verified": "Ověření věku už bylo dokončeno.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` a `expires_at` jsou povinné.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` a `message_id` musí být platné celočíselné hodnoty.",
diff --git a/packages/errors/src/i18n/weblate/locales/da.json b/packages/errors/src/i18n/weblate/locales/da.json
index 135b5b53d..0ce6875d5 100644
--- a/packages/errors/src/i18n/weblate/locales/da.json
+++ b/packages/errors/src/i18n/weblate/locales/da.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Testmiljøet er deaktiveret.",
"admin_and_system.test_harness_forbidden": "Adgang til testmiljøet er ikke tilladt.",
"admin_and_system.update_failed": "Ressourcen kunne ikke opdateres. Prøv igen.",
- "admin_and_system.user_must_be_bot_for_system_user": "Brugeren skal være en bot for at kunne markeres som systembruger.",
"age_verification.already_verified": "Du har allerede gennemført aldersbekræftelse.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` og `expires_at` er påkrævet.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` og `message_id` skal være gyldige heltal.",
diff --git a/packages/errors/src/i18n/weblate/locales/de.json b/packages/errors/src/i18n/weblate/locales/de.json
index d72831911..e7020000c 100644
--- a/packages/errors/src/i18n/weblate/locales/de.json
+++ b/packages/errors/src/i18n/weblate/locales/de.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Test-Harness ist deaktiviert.",
"admin_and_system.test_harness_forbidden": "Test-Harness ist verboten.",
"admin_and_system.update_failed": "Wir konnten die Ressource nicht aktualisieren. Bitte versuche es erneut.",
- "admin_and_system.user_must_be_bot_for_system_user": "Ein Benutzer muss ein Bot sein, um als Systembenutzer markiert zu werden.",
"age_verification.already_verified": "Du hast die Altersbestätigung bereits abgeschlossen.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` und `expires_at` sind erforderlich.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` und `message_id` müssen gültige Ganzzahlen sein.",
diff --git a/packages/errors/src/i18n/weblate/locales/el.json b/packages/errors/src/i18n/weblate/locales/el.json
index 21a50daea..e8dbb14a4 100644
--- a/packages/errors/src/i18n/weblate/locales/el.json
+++ b/packages/errors/src/i18n/weblate/locales/el.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Το test harness είναι απενεργοποιημένο.",
"admin_and_system.test_harness_forbidden": "Το test harness απαγορεύεται.",
"admin_and_system.update_failed": "Δεν μπορέσαμε να ενημερώσουμε τον πόρο. Δοκίμασε ξανά.",
- "admin_and_system.user_must_be_bot_for_system_user": "Ο χρήστης πρέπει να είναι bot για να οριστεί ως χρήστης συστήματος.",
"age_verification.already_verified": "Έχεις ήδη ολοκληρώσει την επαλήθευση ηλικίας.",
"attachments_and_uploads.attachment_fields_required": "Τα `attachment_id`, `channel_id`, `message_id` και `expires_at` είναι υποχρεωτικά.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "Τα `attachment_id`, `channel_id` και `message_id` πρέπει να είναι έγκυροι ακέραιοι αριθμοί.",
diff --git a/packages/errors/src/i18n/weblate/locales/en-GB.json b/packages/errors/src/i18n/weblate/locales/en-GB.json
index 2aed0104d..7048c3eed 100644
--- a/packages/errors/src/i18n/weblate/locales/en-GB.json
+++ b/packages/errors/src/i18n/weblate/locales/en-GB.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Test harness is disabled.",
"admin_and_system.test_harness_forbidden": "Test harness is forbidden.",
"admin_and_system.update_failed": "We couldn't update the resource. Please try again.",
- "admin_and_system.user_must_be_bot_for_system_user": "User must be a bot to be marked as a system user.",
"age_verification.already_verified": "You've already completed age verification.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id`, and `expires_at` are required.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id`, and `message_id` must be valid integers.",
diff --git a/packages/errors/src/i18n/weblate/locales/es-419.json b/packages/errors/src/i18n/weblate/locales/es-419.json
index fb88d946a..d5bf8e156 100644
--- a/packages/errors/src/i18n/weblate/locales/es-419.json
+++ b/packages/errors/src/i18n/weblate/locales/es-419.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "El entorno de prueba está deshabilitado.",
"admin_and_system.test_harness_forbidden": "El entorno de prueba está prohibido.",
"admin_and_system.update_failed": "No se pudo actualizar el recurso. Inténtalo de nuevo.",
- "admin_and_system.user_must_be_bot_for_system_user": "El usuario debe ser un bot para ser marcado como usuario del sistema.",
"age_verification.already_verified": "Ya completaste la verificación de edad.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` y `expires_at` son obligatorios.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` y `message_id` deben ser enteros válidos.",
diff --git a/packages/errors/src/i18n/weblate/locales/es-ES.json b/packages/errors/src/i18n/weblate/locales/es-ES.json
index 9f52ebff6..341081bd7 100644
--- a/packages/errors/src/i18n/weblate/locales/es-ES.json
+++ b/packages/errors/src/i18n/weblate/locales/es-ES.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "El entorno de pruebas está deshabilitado.",
"admin_and_system.test_harness_forbidden": "El entorno de pruebas está prohibido.",
"admin_and_system.update_failed": "No se pudo actualizar el recurso. Inténtalo de nuevo.",
- "admin_and_system.user_must_be_bot_for_system_user": "El usuario debe ser un bot para ser marcado como usuario del sistema.",
"age_verification.already_verified": "Ya has completado la verificación de edad.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` y `expires_at` son obligatorios.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` y `message_id` deben ser enteros válidos.",
diff --git a/packages/errors/src/i18n/weblate/locales/fi.json b/packages/errors/src/i18n/weblate/locales/fi.json
index 0d843413d..05fc26c59 100644
--- a/packages/errors/src/i18n/weblate/locales/fi.json
+++ b/packages/errors/src/i18n/weblate/locales/fi.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Testausympäristö on poistettu käytöstä.",
"admin_and_system.test_harness_forbidden": "Testausympäristö on kielletty.",
"admin_and_system.update_failed": "Resurssia ei voitu päivittää. Yritä uudelleen.",
- "admin_and_system.user_must_be_bot_for_system_user": "Käyttäjän on oltava botti, jotta sen voi merkitä järjestelmäkäyttäjäksi.",
"age_verification.already_verified": "Olet jo suorittanut iän vahvistuksen.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` ja `expires_at` ovat pakollisia.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "Seuraavien kenttien arvojen on oltava kelvollisia kokonaislukuja: `attachment_id`, `channel_id` ja `message_id`.",
diff --git a/packages/errors/src/i18n/weblate/locales/fr.json b/packages/errors/src/i18n/weblate/locales/fr.json
index cb8cc7050..9ae1eb30e 100644
--- a/packages/errors/src/i18n/weblate/locales/fr.json
+++ b/packages/errors/src/i18n/weblate/locales/fr.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Le banc de test est désactivé.",
"admin_and_system.test_harness_forbidden": "Le banc de test est interdit.",
"admin_and_system.update_failed": "Impossible de mettre à jour la ressource. Réessayez.",
- "admin_and_system.user_must_be_bot_for_system_user": "L'utilisateur doit être un bot pour être marqué comme utilisateur système.",
"age_verification.already_verified": "Vous avez déjà effectué la vérification de l’âge.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` et `expires_at` sont nécessaires.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` et `message_id` doivent être des entiers valides.",
diff --git a/packages/errors/src/i18n/weblate/locales/he.json b/packages/errors/src/i18n/weblate/locales/he.json
index 599b01c55..c0b359ed0 100644
--- a/packages/errors/src/i18n/weblate/locales/he.json
+++ b/packages/errors/src/i18n/weblate/locales/he.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "כלי הבדיקה מושבת.",
"admin_and_system.test_harness_forbidden": "השימוש בכלי הבדיקה אסור.",
"admin_and_system.update_failed": "לא הצלחנו לעדכן את המשאב. ניתן לנסות שוב.",
- "admin_and_system.user_must_be_bot_for_system_user": "המשתמש חייב להיות בוט כדי להיות מוגדר כמשתמש מערכת.",
"age_verification.already_verified": "כבר השלמת את אימות הגיל.",
"attachments_and_uploads.attachment_fields_required": "יש לציין את `attachment_id`, `channel_id`, `message_id` ו-`expires_at`.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` ו-`message_id` חייבים להיות מספרים שלמים תקינים.",
diff --git a/packages/errors/src/i18n/weblate/locales/hi.json b/packages/errors/src/i18n/weblate/locales/hi.json
index b1312ada5..b11653997 100644
--- a/packages/errors/src/i18n/weblate/locales/hi.json
+++ b/packages/errors/src/i18n/weblate/locales/hi.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Test harness डिसेबल है।",
"admin_and_system.test_harness_forbidden": "Test harness की अनुमति नहीं है।",
"admin_and_system.update_failed": "रिसोर्स अपडेट नहीं किया जा सका। कृपया फिर से कोशिश करें।",
- "admin_and_system.user_must_be_bot_for_system_user": "सिस्टम यूज़र के रूप में मार्क किए जाने के लिए यूज़र का बॉट होना ज़रूरी है।",
"age_verification.already_verified": "आपने पहले ही एज वेरिफ़िकेशन पूरा कर लिया है।",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id`, और `expires_at` ज़रूरी हैं।",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id`, और `message_id` मान्य इंटीजर होने चाहिए।",
diff --git a/packages/errors/src/i18n/weblate/locales/hr.json b/packages/errors/src/i18n/weblate/locales/hr.json
index 0a04b8a03..4ff8c72ea 100644
--- a/packages/errors/src/i18n/weblate/locales/hr.json
+++ b/packages/errors/src/i18n/weblate/locales/hr.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Testni sustav je onemogućen.",
"admin_and_system.test_harness_forbidden": "Testni sustav je zabranjen.",
"admin_and_system.update_failed": "Nismo mogli ažurirati resurs. Pokušaj ponovno.",
- "admin_and_system.user_must_be_bot_for_system_user": "Korisnik mora biti bot da bi bio označen kao sistemski korisnik.",
"age_verification.already_verified": "Provjera dobi je već završena.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` i `expires_at` su obavezni.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` i `message_id` moraju biti valjani cijeli brojevi.",
diff --git a/packages/errors/src/i18n/weblate/locales/hu.json b/packages/errors/src/i18n/weblate/locales/hu.json
index e51dbd8ff..4ff9e3854 100644
--- a/packages/errors/src/i18n/weblate/locales/hu.json
+++ b/packages/errors/src/i18n/weblate/locales/hu.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "A tesztkeretrendszer ki van kapcsolva.",
"admin_and_system.test_harness_forbidden": "A tesztkeretrendszer használata nem engedélyezett.",
"admin_and_system.update_failed": "Nem sikerült frissíteni az erőforrást. Próbáld újra.",
- "admin_and_system.user_must_be_bot_for_system_user": "Csak botfelhasználó jelölhető meg rendszerfelhasználóként.",
"age_verification.already_verified": "Már elvégezted a korhatár-ellenőrzést.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` és `expires_at` megadása kötelező.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` és `message_id` érvényes egész számoknak kell lenniük.",
diff --git a/packages/errors/src/i18n/weblate/locales/id.json b/packages/errors/src/i18n/weblate/locales/id.json
index fe3a08db0..89f6ffe71 100644
--- a/packages/errors/src/i18n/weblate/locales/id.json
+++ b/packages/errors/src/i18n/weblate/locales/id.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Test harness dinonaktifkan.",
"admin_and_system.test_harness_forbidden": "Test harness dilarang.",
"admin_and_system.update_failed": "Tidak bisa memperbarui sumber daya. Coba lagi.",
- "admin_and_system.user_must_be_bot_for_system_user": "Pengguna harus bot untuk ditandai sebagai pengguna sistem.",
"age_verification.already_verified": "Kamu sudah menyelesaikan verifikasi usia.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id`, dan `expires_at` diperlukan.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id`, dan `message_id` harus berupa bilangan bulat yang valid.",
diff --git a/packages/errors/src/i18n/weblate/locales/it.json b/packages/errors/src/i18n/weblate/locales/it.json
index e0fa2cef9..766abb90b 100644
--- a/packages/errors/src/i18n/weblate/locales/it.json
+++ b/packages/errors/src/i18n/weblate/locales/it.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Ambiente di test disabilitato.",
"admin_and_system.test_harness_forbidden": "Ambiente di test vietato.",
"admin_and_system.update_failed": "Non è stato possibile aggiornare la risorsa. Riprova.",
- "admin_and_system.user_must_be_bot_for_system_user": "L'utente deve essere un bot per essere contrassegnato come utente di sistema.",
"age_verification.already_verified": "Hai già completato la verifica dell'età.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` e `expires_at` sono richiesti.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` e `message_id` devono essere interi validi.",
diff --git a/packages/errors/src/i18n/weblate/locales/ja.json b/packages/errors/src/i18n/weblate/locales/ja.json
index c9c73b7dc..274651aa6 100644
--- a/packages/errors/src/i18n/weblate/locales/ja.json
+++ b/packages/errors/src/i18n/weblate/locales/ja.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "テストハーネスは無効です。",
"admin_and_system.test_harness_forbidden": "テストハーネスは禁止されています。",
"admin_and_system.update_failed": "リソースを更新できませんでした。もう一度お試しください。",
- "admin_and_system.user_must_be_bot_for_system_user": "システムユーザーとしてマークするには、ユーザーはボットである必要があります。",
"age_verification.already_verified": "年齢確認はすでに完了しています。",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`、`channel_id`、`message_id`、`expires_at`は必須です。",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`、`channel_id`、`message_id`は有効な整数である必要があります。",
diff --git a/packages/errors/src/i18n/weblate/locales/ko.json b/packages/errors/src/i18n/weblate/locales/ko.json
index cc2a60584..ce7d5f991 100644
--- a/packages/errors/src/i18n/weblate/locales/ko.json
+++ b/packages/errors/src/i18n/weblate/locales/ko.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "테스트 하네스가 비활성화되었어요.",
"admin_and_system.test_harness_forbidden": "테스트 하네스 사용이 금지되어 있어요.",
"admin_and_system.update_failed": "리소스를 업데이트하지 못했어요. 다시 시도해 주세요.",
- "admin_and_system.user_must_be_bot_for_system_user": "시스템 사용자로 표시하려면 봇이어야 해요.",
"age_verification.already_verified": "연령 인증을 이미 완료했어요.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id`, `expires_at`이 모두 필요해요.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id`, `message_id`는 모두 유효한 정수여야 해요.",
diff --git a/packages/errors/src/i18n/weblate/locales/lt.json b/packages/errors/src/i18n/weblate/locales/lt.json
index 74f3ba592..f2771da8e 100644
--- a/packages/errors/src/i18n/weblate/locales/lt.json
+++ b/packages/errors/src/i18n/weblate/locales/lt.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Testavimo sistema išjungta.",
"admin_and_system.test_harness_forbidden": "Testavimo sistema draudžiama.",
"admin_and_system.update_failed": "Ištekliaus atnaujinti nepavyko. Pabandyk dar kartą.",
- "admin_and_system.user_must_be_bot_for_system_user": "Naudotojas turi būti botas, kad jį būtų galima pažymėti kaip sistemos naudotoją.",
"age_verification.already_verified": "Amžiaus patvirtinimą jau atlikai.",
"attachments_and_uploads.attachment_fields_required": "Reikalingi: `attachment_id`, `channel_id`, `message_id` ir `expires_at`.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` ir `message_id` turi būti galiojantys sveikieji skaičiai.",
diff --git a/packages/errors/src/i18n/weblate/locales/nl.json b/packages/errors/src/i18n/weblate/locales/nl.json
index 36dbfcda4..54a1406b0 100644
--- a/packages/errors/src/i18n/weblate/locales/nl.json
+++ b/packages/errors/src/i18n/weblate/locales/nl.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Testfunctionaliteit is uitgeschakeld.",
"admin_and_system.test_harness_forbidden": "Testfunctionaliteit is verboden.",
"admin_and_system.update_failed": "We konden het item niet bijwerken. Probeer het opnieuw.",
- "admin_and_system.user_must_be_bot_for_system_user": "Gebruiker moet een bot zijn om als systeemgebruiker te worden gemarkeerd.",
"age_verification.already_verified": "Je hebt de leeftijdsverificatie al voltooid.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` en `expires_at` zijn verplicht.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` en `message_id` moeten geldige gehele getallen zijn.",
diff --git a/packages/errors/src/i18n/weblate/locales/no.json b/packages/errors/src/i18n/weblate/locales/no.json
index a0d3077a0..b54ca0683 100644
--- a/packages/errors/src/i18n/weblate/locales/no.json
+++ b/packages/errors/src/i18n/weblate/locales/no.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Testrammeverket er deaktivert.",
"admin_and_system.test_harness_forbidden": "Testrammeverket er ikke tillatt.",
"admin_and_system.update_failed": "Vi kunne ikke oppdatere ressursen. Prøv på nytt.",
- "admin_and_system.user_must_be_bot_for_system_user": "Brukeren må være en bot for å bli merket som en systembruker.",
"age_verification.already_verified": "Du har allerede fullført aldersverifisering.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` og `expires_at` er påkrevd.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` og `message_id` må være gyldige heltall.",
diff --git a/packages/errors/src/i18n/weblate/locales/pl.json b/packages/errors/src/i18n/weblate/locales/pl.json
index 7c5ace604..5517f4677 100644
--- a/packages/errors/src/i18n/weblate/locales/pl.json
+++ b/packages/errors/src/i18n/weblate/locales/pl.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Środowisko testowe wyłączone.",
"admin_and_system.test_harness_forbidden": "Środowisko testowe zabronione.",
"admin_and_system.update_failed": "Nie udało się zaktualizować zasobu. Spróbuj jeszcze raz.",
- "admin_and_system.user_must_be_bot_for_system_user": "Użytkownik musi być botem, aby mógł być oznaczony jako użytkownik systemowy.",
"age_verification.already_verified": "Weryfikacja wieku została już zakończona.",
"attachments_and_uploads.attachment_fields_required": "Wymagane: `attachment_id`, `channel_id`, `message_id` i `expires_at`.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` i `message_id` muszą być prawidłowymi liczbami całkowitymi.",
diff --git a/packages/errors/src/i18n/weblate/locales/pt-BR.json b/packages/errors/src/i18n/weblate/locales/pt-BR.json
index a0e2089a6..dbdd7d801 100644
--- a/packages/errors/src/i18n/weblate/locales/pt-BR.json
+++ b/packages/errors/src/i18n/weblate/locales/pt-BR.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "A ferramenta de teste está desativada.",
"admin_and_system.test_harness_forbidden": "A ferramenta de teste é proibida.",
"admin_and_system.update_failed": "Não foi possível atualizar o recurso. Tente de novo.",
- "admin_and_system.user_must_be_bot_for_system_user": "O usuário deve ser um bot para ser marcado como usuário de sistema.",
"age_verification.already_verified": "Você já concluiu a verificação de idade.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` e `expires_at` são obrigatórios.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` e `message_id` devem ser números inteiros válidos.",
diff --git a/packages/errors/src/i18n/weblate/locales/ro.json b/packages/errors/src/i18n/weblate/locales/ro.json
index 5eb8efd2e..7fd4dfe7e 100644
--- a/packages/errors/src/i18n/weblate/locales/ro.json
+++ b/packages/errors/src/i18n/weblate/locales/ro.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Cadrul de testare este dezactivat.",
"admin_and_system.test_harness_forbidden": "Cadrul de testare este interzis.",
"admin_and_system.update_failed": "Resursa nu a putut fi actualizată. Încearcă din nou.",
- "admin_and_system.user_must_be_bot_for_system_user": "Utilizatorul trebuie să fie un bot pentru a fi marcat ca utilizator de sistem.",
"age_verification.already_verified": "Ai finalizat deja verificarea vârstei.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` și `expires_at` sunt obligatorii.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` și `message_id` trebuie să fie numere întregi valide.",
diff --git a/packages/errors/src/i18n/weblate/locales/ru.json b/packages/errors/src/i18n/weblate/locales/ru.json
index 03bca0afc..abdc59cb2 100644
--- a/packages/errors/src/i18n/weblate/locales/ru.json
+++ b/packages/errors/src/i18n/weblate/locales/ru.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Тестовый стенд отключён.",
"admin_and_system.test_harness_forbidden": "Тестовый стенд запрещён.",
"admin_and_system.update_failed": "Не удалось обновить ресурс. Попробуй ещё раз.",
- "admin_and_system.user_must_be_bot_for_system_user": "Пользователь должен быть ботом, чтобы отметить его как системного пользователя.",
"age_verification.already_verified": "Возраст уже подтверждён.",
"attachments_and_uploads.attachment_fields_required": "Необходимо указать `attachment_id`, `channel_id`, `message_id` и `expires_at`.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` и `message_id` должны быть действительными целыми числами.",
diff --git a/packages/errors/src/i18n/weblate/locales/sv-SE.json b/packages/errors/src/i18n/weblate/locales/sv-SE.json
index e6ed5ef21..8fca5049c 100644
--- a/packages/errors/src/i18n/weblate/locales/sv-SE.json
+++ b/packages/errors/src/i18n/weblate/locales/sv-SE.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Testverktyget är inaktiverat.",
"admin_and_system.test_harness_forbidden": "Testverktyget är inte tillåtet.",
"admin_and_system.update_failed": "Det gick inte att uppdatera resursen. Försök igen.",
- "admin_and_system.user_must_be_bot_for_system_user": "Användaren måste vara en bot för att markeras som en systemanvändare.",
"age_verification.already_verified": "Du har redan slutfört åldersverifieringen.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` och `expires_at` krävs.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` och `message_id` måste vara giltiga heltal.",
diff --git a/packages/errors/src/i18n/weblate/locales/th.json b/packages/errors/src/i18n/weblate/locales/th.json
index ceb3810ef..9200412ac 100644
--- a/packages/errors/src/i18n/weblate/locales/th.json
+++ b/packages/errors/src/i18n/weblate/locales/th.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "ปิดใช้งาน test harness แล้ว",
"admin_and_system.test_harness_forbidden": "ไม่อนุญาตให้ใช้ test harness",
"admin_and_system.update_failed": "ไม่สามารถอัปเดตทรัพยากรได้ โปรดลองอีกครั้ง",
- "admin_and_system.user_must_be_bot_for_system_user": "ผู้ใช้ต้องเป็นบอทจึงจะสามารถระบุว่าเป็นผู้ใช้ระบบได้",
"age_verification.already_verified": "คุณยืนยันอายุเรียบร้อยแล้ว",
"attachments_and_uploads.attachment_fields_required": "ต้องระบุ `attachment_id`, `channel_id`, `message_id` และ `expires_at`",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` และ `message_id` ต้องเป็นจำนวนเต็มที่ถูกต้อง",
diff --git a/packages/errors/src/i18n/weblate/locales/tr.json b/packages/errors/src/i18n/weblate/locales/tr.json
index 319e6922d..b9e3b0417 100644
--- a/packages/errors/src/i18n/weblate/locales/tr.json
+++ b/packages/errors/src/i18n/weblate/locales/tr.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Test altyapısı devre dışı.",
"admin_and_system.test_harness_forbidden": "Test altyapısı yasak.",
"admin_and_system.update_failed": "Kaynağı güncelleyemedik. Tekrar dene.",
- "admin_and_system.user_must_be_bot_for_system_user": "Kullanıcı, sistem kullanıcısı olarak işaretlenmek için bot olmalı.",
"age_verification.already_verified": "Yaş doğrulamasını zaten tamamladın.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` ve `expires_at` gerekli.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` ve `message_id` geçerli tam sayı olmalı.",
diff --git a/packages/errors/src/i18n/weblate/locales/uk.json b/packages/errors/src/i18n/weblate/locales/uk.json
index 406045476..24f85dd6f 100644
--- a/packages/errors/src/i18n/weblate/locales/uk.json
+++ b/packages/errors/src/i18n/weblate/locales/uk.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Тестову систему вимкнено.",
"admin_and_system.test_harness_forbidden": "Тестову систему заборонено.",
"admin_and_system.update_failed": "Не вдалося оновити ресурс. Спробуй ще раз.",
- "admin_and_system.user_must_be_bot_for_system_user": "Користувач має бути ботом, щоб його можна було позначити як системного користувача.",
"age_verification.already_verified": "Перевірку віку вже пройдено.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` та `expires_at` є обов'язковими.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` та `message_id` мають бути дійсними цілими числами.",
diff --git a/packages/errors/src/i18n/weblate/locales/vi.json b/packages/errors/src/i18n/weblate/locales/vi.json
index d9b35a7c7..8d9e75df8 100644
--- a/packages/errors/src/i18n/weblate/locales/vi.json
+++ b/packages/errors/src/i18n/weblate/locales/vi.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Tính năng test harness đã bị tắt.",
"admin_and_system.test_harness_forbidden": "Tính năng test harness bị cấm.",
"admin_and_system.update_failed": "Không thể cập nhật tài nguyên. Vui lòng thử lại.",
- "admin_and_system.user_must_be_bot_for_system_user": "Người dùng phải là bot mới được đánh dấu là người dùng hệ thống.",
"age_verification.already_verified": "Bạn đã hoàn tất xác minh tuổi.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id` và `expires_at` là bắt buộc.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id` và `message_id` phải là các số nguyên hợp lệ.",
diff --git a/packages/errors/src/i18n/weblate/locales/zh-CN.json b/packages/errors/src/i18n/weblate/locales/zh-CN.json
index b12a2f02b..2096c359e 100644
--- a/packages/errors/src/i18n/weblate/locales/zh-CN.json
+++ b/packages/errors/src/i18n/weblate/locales/zh-CN.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "测试工具已禁用。",
"admin_and_system.test_harness_forbidden": "禁止使用测试工具。",
"admin_and_system.update_failed": "无法更新资源。请重试。",
- "admin_and_system.user_must_be_bot_for_system_user": "用户必须是机器人才能被标记为系统用户。",
"age_verification.already_verified": "你已完成年龄验证。",
"attachments_and_uploads.attachment_fields_required": "需要提供 `attachment_id`、`channel_id`、`message_id` 和 `expires_at`。",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`、`channel_id` 和 `message_id` 必须是有效的整数。",
diff --git a/packages/errors/src/i18n/weblate/locales/zh-TW.json b/packages/errors/src/i18n/weblate/locales/zh-TW.json
index f0dc63fd2..ffd8ee187 100644
--- a/packages/errors/src/i18n/weblate/locales/zh-TW.json
+++ b/packages/errors/src/i18n/weblate/locales/zh-TW.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "測試工具已停用。",
"admin_and_system.test_harness_forbidden": "禁止使用測試工具。",
"admin_and_system.update_failed": "我們無法更新資源。請再試一次。",
- "admin_and_system.user_must_be_bot_for_system_user": "使用者必須是機器人才能標記為系統使用者。",
"age_verification.already_verified": "你已完成年齡驗證。",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`、`channel_id`、`message_id` 和 `expires_at` 為必填。",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`、`channel_id` 和 `message_id` 必須為有效的整數。",
diff --git a/packages/errors/src/i18n/weblate/messages.json b/packages/errors/src/i18n/weblate/messages.json
index 272b675a3..42e9630a7 100644
--- a/packages/errors/src/i18n/weblate/messages.json
+++ b/packages/errors/src/i18n/weblate/messages.json
@@ -38,7 +38,6 @@
"admin_and_system.test_harness_disabled": "Test harness is disabled.",
"admin_and_system.test_harness_forbidden": "Test harness is forbidden.",
"admin_and_system.update_failed": "We couldn't update the resource. Please try again.",
- "admin_and_system.user_must_be_bot_for_system_user": "User must be a bot to be marked as a system user.",
"age_verification.already_verified": "You've already completed age verification.",
"attachments_and_uploads.attachment_fields_required": "`attachment_id`, `channel_id`, `message_id`, and `expires_at` are required.",
"attachments_and_uploads.attachment_ids_must_be_valid_integers": "`attachment_id`, `channel_id`, and `message_id` must be valid integers.",
diff --git a/packages/schema/src/domains/admin/AdminUserSchemas.ts b/packages/schema/src/domains/admin/AdminUserSchemas.ts
index d718a9e6f..7160d19f2 100644
--- a/packages/schema/src/domains/admin/AdminUserSchemas.ts
+++ b/packages/schema/src/domains/admin/AdminUserSchemas.ts
@@ -247,20 +247,6 @@ export const ClearUserFieldsRequest = z.object({
export type ClearUserFieldsRequest = z.infer<typeof ClearUserFieldsRequest>;
-export const SetUserBotStatusRequest = z.object({
- user_id: SnowflakeType.describe('ID of the user to update'),
- bot: z.boolean().describe('Whether the user should be marked as a bot'),
-});
-
-export type SetUserBotStatusRequest = z.infer<typeof SetUserBotStatusRequest>;
-
-export const SetUserSystemStatusRequest = z.object({
- user_id: SnowflakeType.describe('ID of the user to update'),
- system: z.boolean().describe('Whether the user should be marked as a system user'),
-});
-
-export type SetUserSystemStatusRequest = z.infer<typeof SetUserSystemStatusRequest>;
-
export const VerifyUserEmailRequest = z.object({
user_id: SnowflakeType.describe('ID of the user to verify email for'),
});
@@ -568,14 +554,6 @@ export const AdminUserClearFieldsRequest = ClearUserFieldsRequest.omit({user_id:
export type AdminUserClearFieldsRequest = z.infer<typeof AdminUserClearFieldsRequest>;
-export const AdminUserBotStatusRequest = SetUserBotStatusRequest.omit({user_id: true});
-
-export type AdminUserBotStatusRequest = z.infer<typeof AdminUserBotStatusRequest>;
-
-export const AdminUserSystemStatusRequest = SetUserSystemStatusRequest.omit({user_id: true});
-
-export type AdminUserSystemStatusRequest = z.infer<typeof AdminUserSystemStatusRequest>;
-
export const AdminUserUsernameUpdateRequest = ChangeUsernameRequest.omit({user_id: true});
export type AdminUserUsernameUpdateRequest = z.infer<typeof AdminUserUsernameUpdateRequest>;