From 6f20008387bb26fd0225e16036931237879fd3a7 Mon Sep 17 00:00:00 2001 From: Satoshi Qazi Muhammed Date: Thu, 30 Jul 2026 02:35:41 -0700 Subject: [PATCH] fix(bot): point the main slot at @BizinikiwiBot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The main slot was described as a retired testnet bot. It is not retired — a fresh bot was created for it on 2026-07-30 under separate ownership, username @BizinikiwiBot, display name Pezkuwichain_Bot. It is not a recovery of the compromised @pezkuwichain_bot; that account is gone and its token stays invalid. Its webhook carries no ?bot parameter, so getBotId falls back to main and this slot is now a live path rather than a fallback. The cloud secret TELEGRAM_BOT_TOKEN holds the new token. Also puts the PEX.network link on the main welcome, so all three bots offer it. --- supabase/functions/telegram-bot/index.ts | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/supabase/functions/telegram-bot/index.ts b/supabase/functions/telegram-bot/index.ts index f82b9e6..1131267 100644 --- a/supabase/functions/telegram-bot/index.ts +++ b/supabase/functions/telegram-bot/index.ts @@ -1,7 +1,7 @@ /** * PezkuwiChain Telegram Bot - Supabase Edge Function * Handles webhook updates from three separate bots: - * - @Pezkuwichain_Bot (main) → retired testnet bot; slot kept as a fallback + * - @BizinikiwiBot (main) → telegram.pezkiwi.app * - @pezkuwichainBot (krd) → telegram.pezkiwi.app * - @DKSKurdistanBot (dks) → AI assistant powered by Claude */ @@ -20,9 +20,10 @@ const BOT_TOKENS: Record = { }; const MINI_APP_URLS: Record = { - // The testnet domain this used to point at was removed on 2026-07-12 and no - // longer resolves. Live webhooks arrive as ?bot=krd and ?bot=dks so this - // default is never hit today, but it should not hand out a dead link if it is. + // @BizinikiwiBot, created fresh under separate ownership on 2026-07-30. It is + // not a recovery of the compromised @pezkuwichain_bot — that account is gone + // and its token stays invalid. This slot is reached by a webhook with no ?bot + // parameter, since getBotId falls back to main. main: 'https://telegram.pezkiwi.app', krd: 'https://telegram.pezkiwi.app', dks: 'https://telegram.pezkiwi.app', @@ -478,6 +479,12 @@ async function sendMainWelcome(token: string, chatId: number) { url: 'https://play.google.com/store/apps/details?id=io.pezkuwichain.wallet', }, ], + [ + { + text: '💱 Buy/Sell Crypto — PEX.network', + url: 'https://pex.network', + }, + ], ], };