ops: installer asks for the subscription and bot token; first /start claims the bot

- install.sh prompts (hidden) for the VLESS subscription URL and the Telegram token on
  the first run, and picks Whisper base on VMs under 3.5 GB RAM.
- The owner chat no longer has to be looked up: whoever sends /start first becomes the
  owner (saved in the settings table); OWNER_CHAT_ID still overrides.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maksarsanjeev
2026-10-10 02:55:02 +03:00
parent 80990bbbcd
commit 14c1f740d9
4 changed files with 59 additions and 18 deletions
+4
View File
@@ -52,6 +52,10 @@ CREATE TABLE IF NOT EXISTS routine_log (
done_on TEXT NOT NULL,
note TEXT NOT NULL DEFAULT ''
);
CREATE TABLE IF NOT EXISTS settings (
key TEXT PRIMARY KEY,
value TEXT NOT NULL
);
CREATE TABLE IF NOT EXISTS reminders_sent (
kind TEXT NOT NULL, -- task | sub | routine | digest
ref INTEGER NOT NULL,