feat(api): allow bots to search messages within a single community (#1660)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-15 23:11:45 +02:00
1 parent b5285019cd
commit 490b710c61
42 files changed
+113 -75

No files matched your search

@@ -467,6 +467,7 @@ export const ErrorCodeToI18nKey = {
'premium_and_plans.visionary_required_for_bot_discriminator',
[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',