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:
33
telegram_bot/src/handlers/index.ts
Normal file
33
telegram_bot/src/handlers/index.ts
Normal 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';
|
||||
|
||||
Reference in New Issue
Block a user