Система модулей

Модули Обзор

BotLaunch features a powerful modular architecture with 143 pre-built modules that you can enable, configure, and combine to create the perfect bot for your needs.

Что такое модули?

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.

Ключевые возможности

Plug & Play

Enable modules with a single click - no coding required

Fully Configurable

Customize every aspect of each module to fit your needs

API Access

Full API access for programmatic module management

Real-time Updates

Changes take effect immediately without bot restart

Категории модулей

Core Modules

Essential functionality for every bot

welcomecommandsauto responsebroadcast

Moderation

Keep your communities safe and clean

anti spamanti floodcaptchawarningsban management

AI Features

Intelligent automation and responses

ai chatai chatbotai image gennlpsentiment analysis

Analytics

Track and analyze bot performance

engagement metricsbot performancemessage analytics

User Management

Manage users and permissions

user filteringuser tagsvip managementuser verification

Включение модулей

Enabling a module is simple - just navigate to your group settings in the dashboard and toggle the modules you want to use.

1
Navigate to your group in the Client Panel
2
Click on "Modules" in the sidebar
3
Find the module you want to enable
4
Toggle the switch to enable it
5
Configure the module settings as needed

Использование 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);

Конфигурация модуля

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
  }
}