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
This commit is contained in:
Michilis
2025-11-27 23:10:25 +00:00
parent d3bf8080b6
commit f743a6749c
29 changed files with 7616 additions and 1 deletions

View File

@@ -0,0 +1,33 @@
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';