Módulos visão Geral
BotLaunch features a powerful modular architecture with 165 pre-built modules that you can enable, configure, and combine to create the perfect bot for your needs.
O que são Módulos?
Modules are self-contained features that extend your bot's capabilities. Each module handles a specific function - from welcoming new users to advanced AI-powered conversations. Think of them as building blocks that you can mix and match to create your ideal bot.
Every module can be independently enabled or disabled, and most offer extensive configuration options. This modular approach means you only pay for and use the features you actually need.
Recursos Principais
Plug & play
Habilite módulos com um único clique - sem necessidade de programação
Totalmente Configurável
Personalize cada aspecto de cada módulo para atender suas necessidades
API access
Acesso completo à API para gerenciamento programático de módulos
Atualizações em Tempo Real
As alterações entram em vigor imediatamente sem reiniciar o bot
Categorias de Módulos
Módulos Principais
Funcionalidade essencial para todo bot
Moderation
Mantenha suas comunidades seguras e organizadas
AI features
Automação e respostas inteligentes
Analytics
Acompanhe e análise o desempenho do bot
Gestão de Usuários
Gerencie usuários e permissões
Habilitando Módulos
Enabling a module is simple - just navigate to your group settings in the dashboard and toggle the modules you want to use.
Uso da API
You can also manage modules programmatically using our REST API:
// Enable the anti_spam module for a group
const response = await fetch(
'https://api.botlaunch.io/api/bot-modules/groups/{groupId}/anti_spam',
{
method: 'PATCH',
headers: {
'Authorization': 'Bearer {your_token}',
'Content-Type': 'application/json',
'x-organization-id': '{org_id}'
},
body: JSON.stringify({
enabled: true,
config: {
maxMessages: 5,
timeWindow: 10,
action: 'mute'
}
})
}
);
const data = await response.json();
console.log(data);Configuração de Módulo
Each module comes with its own configuration options. Here's an example of how module configuration works:
{
"moduleType": "anti_spam",
"enabled": true,
"config": {
"maxMessages": 5, // Max messages in time window
"timeWindow": 10, // Time window in seconds
"action": "mute", // Action: mute, kick, ban, warn
"muteDuration": 300, // Mute duration in seconds
"exemptRoles": ["admin", "moderator"],
"exemptUsers": [],
"notifyUser": true,
"logActions": true
}
}