From df85226abfc7b75f46669afafe60db7e8a70bf91 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 8 Nov 2025 08:29:35 +0000 Subject: [PATCH] Add /help command to Discord interactions handler cgen-e798e5d4b50a4d03a20ec9bc3f944047 --- api/discord/interactions.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/api/discord/interactions.ts b/api/discord/interactions.ts index 8007e45e..e6bb6811 100644 --- a/api/discord/interactions.ts +++ b/api/discord/interactions.ts @@ -133,10 +133,20 @@ export default async function handler(req: VercelRequest, res: VercelResponse) { }); } + if (commandName === "help") { + return res.status(200).json({ + type: 4, + data: { + content: `**🎯 AeThex Discord Bot Help**\n\n**Available Commands:**\n\n• \`/creators [arm]\` - Browse creators across AeThex arms\n - Filter by: labs, gameforge, corp, foundation, nexus\n\n• \`/opportunities [arm]\` - Find job opportunities and collaborations\n - Filter by: labs, gameforge, corp, foundation, nexus\n\n• \`/nexus\` - Explore the Talent Marketplace\n\n**Learn More:**\n• 🌐 [Visit AeThex](https://aethex.dev)\n• 👥 [Join Community](https://aethex.dev/community)\n• 📚 [Documentation](https://docs.aethex.tech)`, + flags: 0, + }, + }); + } + return res.status(200).json({ type: 4, data: { - content: `✨ AeThex - Advanced Development Platform\n\n**Available Commands:**\n• \`/creators [arm]\` - Browse creators across AeThex arms\n• \`/opportunities [arm]\` - Find job opportunities and collaborations\n• \`/nexus\` - Explore the Talent Marketplace`, + content: `✨ AeThex - Advanced Development Platform\n\n**Available Commands:**\n• \`/creators [arm]\` - Browse creators across AeThex arms\n• \`/opportunities [arm]\` - Find job opportunities and collaborations\n• \`/nexus\` - Explore the Talent Marketplace\n• \`/help\` - Show this help message`, flags: 0, }, });