ReminderBot/bot/handlers/__init__.py
leo 9ac7e88ac6 feat: replace fixed 10-min snooze with user-defined snooze duration
- Add snooze.py handler: prompts user for snooze minutes and schedules
  a one-shot job with a cancel button (cancel_snooze_<id>)
- Refactor callback.py: support compound action prefix parsing for
  cancel_snooze_*, switch snooze action to prompt-based flow
- Add snooze_action_keyboard() in keyboards.py; update snooze button label
- Register handle_snooze_input in group=1 to avoid ConversationHandler conflict
- Filter completed once-type reminders from get_user_reminders()
- Fix DateTrigger: compare and localize once_time in UTC consistently

Co-Authored-By: claude-sonnet-4-6 <noreply@anthropic.com>
2026-03-05 15:19:02 +08:00

15 lines
403 B
Python

from bot.handlers.start import start, help_command
from bot.handlers.reminder import reminder_conv_handler
from bot.handlers.list import list_reminders
from bot.handlers.callback import handle_callback
from bot.handlers.snooze import handle_snooze_input
__all__ = [
"start",
"help_command",
"reminder_conv_handler",
"list_reminders",
"handle_callback",
"handle_snooze_input",
]