* /aao help - Show available commands
(_command: SlackSlashCommand)
| 54 | * /aao help - Show available commands |
| 55 | */ |
| 56 | async function handleHelpCommand(_command: SlackSlashCommand): Promise<CommandResponse> { |
| 57 | return { |
| 58 | response_type: 'ephemeral', |
| 59 | text: 'AAO Slack Commands', |
| 60 | blocks: [ |
| 61 | { |
| 62 | type: 'header', |
| 63 | text: { |
| 64 | type: 'plain_text', |
| 65 | text: 'AAO Slack Commands', |
| 66 | emoji: true, |
| 67 | }, |
| 68 | }, |
| 69 | { |
| 70 | type: 'section', |
| 71 | text: { |
| 72 | type: 'mrkdwn', |
| 73 | text: 'Available commands:', |
| 74 | }, |
| 75 | }, |
| 76 | { |
| 77 | type: 'section', |
| 78 | text: { |
| 79 | type: 'mrkdwn', |
| 80 | text: '*`/aao status`*\nCheck your AAO membership and subscription status', |
| 81 | }, |
| 82 | }, |
| 83 | { |
| 84 | type: 'section', |
| 85 | text: { |
| 86 | type: 'mrkdwn', |
| 87 | text: '*`/aao whoami`*\nShow your linked AAO account info', |
| 88 | }, |
| 89 | }, |
| 90 | { |
| 91 | type: 'section', |
| 92 | text: { |
| 93 | type: 'mrkdwn', |
| 94 | text: '*`/aao link`*\nGet instructions to link your Slack account to AAO', |
| 95 | }, |
| 96 | }, |
| 97 | { |
| 98 | type: 'section', |
| 99 | text: { |
| 100 | type: 'mrkdwn', |
| 101 | text: '*`/aao help`*\nShow this help message', |
| 102 | }, |
| 103 | }, |
| 104 | { |
| 105 | type: 'context', |
| 106 | elements: [ |
| 107 | { |
| 108 | type: 'mrkdwn', |
| 109 | text: 'Need help? Contact us at <https://agenticadvertising.org|agenticadvertising.org>', |
| 110 | }, |
| 111 | ], |
| 112 | }, |
| 113 | ], |
no outgoing calls
no test coverage detected