()
| 87 | * Only includes visible commands. |
| 88 | */ |
| 89 | export function getTelegramBotCommands(): Array<{ |
| 90 | command: string; |
| 91 | description: string; |
| 92 | }> { |
| 93 | return COMMAND_REGISTRY.filter((cmd) => cmd.visibleInHelp).map((cmd) => ({ |
| 94 | command: cmd.command, |
| 95 | description: cmd.description, |
| 96 | })); |
| 97 | } |