Modules
Custom Module
Create custom modules with commands and events to extend your bot functionality.
Custom modules allow you to build reusable collections of commands and events tailored to your server's needs. Group related functionality together and manage them as a single unit.
Create a custom module and give it a name and description.
Double-click the module to open its sub-flow and add triggers (commands/events).
Configure each trigger's behavior within the module's graph.
Enable the module to activate all its commands and events.
Module Configuration
- Module Name — A unique identifier for your custom module.
- Description — Brief explanation of what this module does or when it's used.
- Enabled — Toggle to activate or deactivate all triggers in this module at once.
Managing Triggers
Triggers are managed inside the custom module's sub-flow. To access them:
- Double-click the custom module node to enter its sub-flow
- Add Command nodes (for slash commands) or Event nodes (for server activity handlers)
- Configure each trigger individually
- Exit the sub-flow to return to the main graph
Each trigger can be configured independently with its own:
- Command Name — The slash command users type
- Description — Help text shown to users
- Behavior — Custom logic and responses
You can also connect other bot modules within the custom module's sub-flow to combine functionality.
Organization tip
Group related commands or events into the same custom module for easier management and maintenance.
Integration
Custom modules integrate with your bot's main graph:
- Add other standard modules (Welcome, Moderation, etc.) to your custom module
- Chain multiple modules together within the sub-flow
- The main graph can connect to and trigger your custom module
Need help? Join the ServaDiscord support server.