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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user