015
Archive 015Telegram bot

Trigger

Telegram userbot + bot: content transfer from trigger groups to main groups with queues, AI and admin panel

telegram

Trigger
01 /About

Telegram userbot + bot: content transfer from trigger groups to main groups with queues, AI and admin panel.

02 /✨ Features
  1. 01Trigger groups monitoring and recovery after restarts
  2. 02Filters: links / forwarded / hashtags / buttons / keywords
  3. 03AI text processing (GPTunnel) with limits, retries and token tracking
  4. 04Publication queues, scheduled posts and statuses
  5. 05Hashtag timer mode in main groups
  6. 06Admin notifications and customizable signatures
03 /🏗️ Architecture
  1. 01Userbot (GramJS) — read sources, timers, bridge to bot
  2. 02Telegram bot (Telegraf) — admin panel, queue management
  3. 03File queues and state without DB (simple deploy model)
  4. 04Modules: filters, queues, AI, FloodWait handling
04 /🧠 AI Processing
  1. 01GPTunnel API: model, temperature, limits
  2. 02402 (insufficient funds) handling and retry with useWalletBalance flag
  3. 03Result cleaning before publication
05 /🧪 Filters
  1. 01links / forwarded / hashtag / buttons / keywords
  2. 02Hashtag search strictly as separate word (boundaries)
06 /⏱️ Queues & Timers
  1. 01Statuses: pending / scheduled / processing / published / expired
  2. 02Timer recovery on start; expired → expired
07 /🛡️ Resilience
  1. 01Explicit FloodWait handling with adaptive delays
  2. 02Hiding noisy low-level logs
08 /📝 Logs
  1. 01logger (info/warn/error/debug) and debugLogger
  2. 02Compact messages + Data blocks