From dde0152786aa1ff3bdfc2790802e3820fbf41880 Mon Sep 17 00:00:00 2001 From: anten-ka Date: Sun, 22 Mar 2026 14:38:08 +0300 Subject: [PATCH] Fix: bot daemon re-reads config each poll cycle so new admins work without restart Made-with: Cursor --- warp.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/warp.sh b/warp.sh index b686b2a..cad63ac 100644 --- a/warp.sh +++ b/warp.sh @@ -1615,6 +1615,7 @@ bot_daemon() { } bot_poll_cycle() { + source "$WARP_CONF" 2>/dev/null local response response=$(curl -s --max-time 35 \ "https://api.telegram.org/bot${BOT_TOKEN}/getUpdates?offset=${offset}&timeout=30" 2>/dev/null)