Files
LightningLotto/telegram_bot/src/handlers/index.ts
Michilis f743a6749c feat: Add Telegram bot with group support
- Full Telegram bot implementation for Lightning Jackpot
- Commands: /start, /buy, /tickets, /wins, /address, /jackpot, /help
- Lightning invoice generation with QR codes
- Payment polling and confirmation notifications
- User state management (Redis/in-memory fallback)
- Group support with admin settings panel
- Configurable draw announcements and reminders
- Centralized messages for easy i18n
- Docker configuration included
2025-11-27 23:10:25 +00:00

34 lines
737 B
TypeScript

export { handleStart } from './start';
export {
handleAddressCommand,
handleLightningAddressInput,
} from './address';
export {
handleBuyCommand,
handleTicketAmountSelection,
handleCustomTicketAmount,
handlePurchaseConfirmation,
} from './buy';
export {
handleTicketsCommand,
handleViewTicket,
handleStatusCheck,
} from './tickets';
export { handleWinsCommand } from './wins';
export { handleHelpCommand } from './help';
export {
handleMenuCommand,
handleCancel,
handleMenuCallback,
} from './menu';
export {
handleBotAddedToGroup,
handleBotRemovedFromGroup,
handleGroupSettings,
handleGroupSettingsCallback,
handleGroupRefresh,
broadcastDrawAnnouncement,
broadcastDrawReminder,
} from './groups';