๐ Phase 1: The Foundation
Every bot starts with a token and initialization. We recommend using theenv module to keep your token secret.
โก Phase 2: Slash Commands
Slash commands are the primary way users interact with your bot. In Helix, you register them with a name and a description.Basic Command
Commands with Parameters
Users can provide input to your commands. Helix automatically maps these to theinteraction object.
๐ฑ๏ธ Phase 3: User Apps (Context Menus)
This is a premium feature. User Apps appear when you right-click a User or a Message. They donโt require typingโjust a right-click.User Context Menu
Great for profile lookups or moderation.Message Context Menu
Perfect for quoting, reporting, or translating messages.๐ Phase 4: Interactivity (Buttons & Selects)
Static text is boring. Add buttons and dropdowns to your responses to make them feel like a real app.Adding Buttons
Simply add an indented block to yourrespond or ephemeral call.
Select Menus (Dropdowns)
Allow users to pick from a list of options.๏ฟฝ Phase 5: Modals (Forms)
Need more than one input? Pop up a full form (Modal).๐ผ๏ธ Phase 6: Rich Media (Embeds)
Embeds allow you to send organized, colored boxes with images and fields.๐ก๏ธ Phase 7: Server Management & Moderation
Helix simplifies complex moderation tasks into one-line commands.๏ฟฝ Phase 8: Global Events
Listen to everything happening on your server using the.on() gateway listener.
๐๏ธ Phase 9: Putting it all Together
Here is a complete, production-ready bot template combining multiple features:๐ Quick Reference Table
| Feature | Helix Method | Scope |
|---|---|---|
| Slash | bot.command(name, desc) | Global Command |
| User App | bot.user_command(label) | Right-click User |
| Msg App | bot.message_command(label) | Right-click Message |
| Event | bot.on(event_name) | Gateway Events |
| Embed | interaction.embed | Response Block |
| Buttons | interaction.button(label, id, style) | Response/Embed Block |
| Select | interaction.select(id) | Response/Embed Block |
| Forms | interaction.modal(id, title) | Popup Window |
โ Back to Modules Overview