Add /help command to Discord interactions handler
cgen-e798e5d4b50a4d03a20ec9bc3f944047
This commit is contained in:
parent
7659589b7e
commit
df85226abf
1 changed files with 11 additions and 1 deletions
|
|
@ -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,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue