|
6 | 6 |  |
7 | 7 |  |
8 | 8 |
|
| 9 | +```mermaid |
| 10 | +graph TB |
| 11 | + %% External Actors |
| 12 | + User((Telegram User)) |
| 13 | + TelegramAPI((Telegram API)) |
| 14 | +
|
| 15 | + subgraph "DeBot System" |
| 16 | + subgraph "Core Bot Container (Python)" |
| 17 | + BotClient["Bot Client<br>(Telethon)"] |
| 18 | + ModuleManager["Module Manager<br>(Python)"] |
| 19 | + ConfigManager["Config Manager<br>(python-dotenv)"] |
| 20 | + |
| 21 | + subgraph "Module Components" |
| 22 | + ModuleLoader["Module Loader<br>(Python)"] |
| 23 | + CommandHandler["Command Handler<br>(Python)"] |
| 24 | + SessionManager["Session Manager<br>(Telethon)"] |
| 25 | + end |
| 26 | + |
| 27 | + subgraph "Utility Components" |
| 28 | + FakeDataGen["Fake Data Generator<br>(Faker)"] |
| 29 | + ConsoleUI["Console UI<br>(Rich)"] |
| 30 | + ArtRenderer["ASCII Art Renderer<br>(Art)"] |
| 31 | + SystemMonitor["System Monitor<br>(WMI)"] |
| 32 | + end |
| 33 | + end |
| 34 | +
|
| 35 | + subgraph "Network Layer" |
| 36 | + ProxyHandler["Proxy Handler<br>(PySocks/python-socks)"] |
| 37 | + end |
| 38 | + end |
| 39 | +
|
| 40 | + %% Relationships |
| 41 | + User -->|"Interacts with"| TelegramAPI |
| 42 | + TelegramAPI -->|"Communicates via"| ProxyHandler |
| 43 | + ProxyHandler -->|"Routes traffic to"| BotClient |
| 44 | + |
| 45 | + BotClient -->|"Loads"| ModuleManager |
| 46 | + ModuleManager -->|"Uses"| ModuleLoader |
| 47 | + ModuleManager -->|"Registers"| CommandHandler |
| 48 | + BotClient -->|"Manages"| SessionManager |
| 49 | + |
| 50 | + BotClient -->|"Configures via"| ConfigManager |
| 51 | + |
| 52 | + CommandHandler -->|"Uses"| FakeDataGen |
| 53 | + CommandHandler -->|"Outputs via"| ConsoleUI |
| 54 | + ConsoleUI -->|"Renders"| ArtRenderer |
| 55 | + CommandHandler -->|"Monitors via"| SystemMonitor |
| 56 | +``` |
| 57 | + |
9 | 58 | ## Установка: |
10 | 59 | ```sh |
11 | 60 | git clone https://github.com/DeBotCommunity/DeBot.git |
|
0 commit comments