From 4b01a4b3716a4593985005fda4e3b8c93ccaba02 Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Thu, 19 Mar 2026 17:48:09 +0300 Subject: [PATCH] Remove manual token input from Telegram targets Telegram targets now require a registered bot (no manual token fallback). Shows link to /telegram-bots page when no bots exist. Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/routes/targets/+page.svelte | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/frontend/src/routes/targets/+page.svelte b/frontend/src/routes/targets/+page.svelte index 3a9306a..93623f0 100644 --- a/frontend/src/routes/targets/+page.svelte +++ b/frontend/src/routes/targets/+page.svelte @@ -121,24 +121,19 @@ {#if formType === 'telegram'} - +
- + {#if bots.length === 0} +

{t('telegramBot.noBots')}

+ {/if}
- {#if !form.bot_id} - -
- - -
- {/if} -