Files
worktimeBot/internal/bot/handlers.go
db123 b822068f0a feat: enforce RPG dependency for League — cannot enable League without RPG
- handleSelectCallback: disabling RPG also disables League; enabling
  League when RPG is off shows toast error via answerCbWithText
- handleLeagueToggleCmd (/leaguetoggle): rejects with message if RPG off
- leagueToggleCallback (inline): rejects with message if RPG off
- buildSettingsKeyboard: League status shows as 'off' when RPG is disabled
  (even if the DB still has LeagueOptIn=true, since RPG disable forces it false)
2026-06-25 09:19:03 +03:30

21 KiB