add timers 1 2 3 6 12 24 hours

This commit is contained in:
vrubelroman 2025-11-16 21:01:14 +03:00
parent 13a83b9fbd
commit 3f5f4f14b9
2 changed files with 18 additions and 3 deletions

View file

@ -31,7 +31,7 @@ def _resolve_database_path() -> str:
DATABASE_PATH = _resolve_database_path()
# Period options for /setperiod command
PERIOD_OPTIONS = [0, 15, 30, 60, 120, 180] # minutes
PERIOD_OPTIONS = [0, 15, 30, 60, 120, 180, 360, 720, 1440] # minutes (0=disable, then: 15min, 30min, 1h, 2h, 3h, 6h, 12h, 24h)
# Telegram Bot Long Polling Configuration
POLL_INTERVAL = 1.0 # seconds