MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / handleHelpCommand

Function handleHelpCommand

server/src/slack/commands.ts:56–115  ·  view source on GitHub ↗

* /aao help - Show available commands

(_command: SlackSlashCommand)

Source from the content-addressed store, hash-verified

54 * /aao help - Show available commands
55 */
56async 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 ],

Callers 1

handleSlashCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected